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)
commit3829f38169aaf38c764afba852e320d8f3b006de
tree32de5b2eca1e1cfc56a2f49abde39b959fb30422
parentc46e22f10612d91fb2cceef232e9d73c34be212a
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