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:
04b6e15
)
[SCSI] scsi_dh: cosmetic change to sizeof()
author
Hillf Danton
<dhillf@gmail.com>
Fri, 11 Feb 2011 22:17:33 +0000
(15:17 -0700)
committer
James Bottomley
<James.Bottomley@suse.de>
Sat, 12 Feb 2011 20:13:34 +0000
(14:13 -0600)
instead of doing sizeof(struct X) it's better to do sizeof(*v) where v
is the variable pointing to struct X.
Signed-off-by: Hillf Danton <dhillf@gmail.com>
Signed-off-by: Babu Moger <babu.moger@lsi.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
No differences found