]> git.baikalelectronics.ru Git - kernel.git/commit
iscsi-target: Improve size determinations in four functions
authorMarkus Elfring <elfring@users.sourceforge.net>
Sun, 9 Apr 2017 14:00:39 +0000 (16:00 +0200)
committerNicholas Bellinger <nab@linux-iscsi.org>
Tue, 2 May 2017 05:21:08 +0000 (22:21 -0700)
commita05082879593104de0fe8725913d770774f06b22
tree32de5b2eca1e1cfc56a2f49abde39b959fb30422
parent64b4f4a7fa88c8793371b04eea87922c2e2dfbc1
iscsi-target: Improve size determinations in four functions

Replace the specification of four data structures by pointer dereferences
as the parameter for the operator "sizeof" to make the corresponding size
determinations a bit safer according to the Linux coding style convention.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/iscsi/iscsi_target.c