summaryrefslogtreecommitdiffstats
path: root/drivers/s390/kvm
diff options
context:
space:
mode:
authorChristof Schmitt <christof.schmitt@de.ibm.com>2009-11-24 16:54:02 +0100
committerJames Bottomley <James.Bottomley@suse.de>2009-12-04 19:02:04 +0100
commit25458eb791acf0e5e65183c5adb3918d8d71d756 (patch)
treee634ee6be885b096c8a8840f6b6a1184d1fb341d /drivers/s390/kvm
parent[SCSI] zfcp: Remove suspend callback (diff)
downloadlinux-25458eb791acf0e5e65183c5adb3918d8d71d756.tar.xz
linux-25458eb791acf0e5e65183c5adb3918d8d71d756.zip
[SCSI] zfcp: Access ports and units with container_of in sysfs code
When accessing port and unit attributes, use container_of instead of dev_get_drvdata. This eliminates some code checker warnings about aliased access of data structures. Reviewed-by: Swen Schillig <swen@vnet.ibm.com> Signed-off-by: Christof Schmitt <christof.schmitt@de.ibm.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/s390/kvm')
0 files changed, 0 insertions, 0 deletions