target: Improve size determinations in two functions
authorMarkus Elfring <elfring@users.sourceforge.net>
Sun, 9 Apr 2017 18:15:12 +0000 (20:15 +0200)
committerNicholas Bellinger <nab@linux-iscsi.org>
Tue, 2 May 2017 05:21:30 +0000 (22:21 -0700)
commit5d68fb72d3780555752bcf2526f759f953e08bc3
treea685c86aa6e05d75a14e78da65bca7220b74f510
parentfbc4040bf67b10ee66097c9603550773a3bc5c06
target: Improve size determinations in two functions

Replace the specification of two 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/target_core_rd.c