git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b42aece
)
[SCSI] zfcp: Access ports and units with container_of in sysfs code
author
Christof Schmitt
<christof.schmitt@de.ibm.com>
Tue, 24 Nov 2009 15:54:02 +0000
(16:54 +0100)
committer
James Bottomley
<James.Bottomley@suse.de>
Fri, 4 Dec 2009 18:02:04 +0000
(12:02 -0600)
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>
No differences found