From: Christof Schmitt Date: Tue, 24 Nov 2009 15:54:02 +0000 (+0100) Subject: [SCSI] zfcp: Access ports and units with container_of in sysfs code X-Git-Tag: v2.6.33-rc1~344^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=25458eb791acf0e5e65183c5adb3918d8d71d756;p=pandora-kernel.git [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 Signed-off-by: Christof Schmitt Signed-off-by: James Bottomley --- Reading git-diff-tree failed