commit | a572dba9e0a72a51d3a624cbb511c39a702c9cf3 | [log] [tgz] |
---|---|---|
author | Markus Elfring <elfring@users.sourceforge.net> | Sun Dec 10 21:23:43 2017 +0100 |
committer | Nicholas Bellinger <nab@linux-iscsi.org> | Fri Jan 12 15:07:23 2018 -0800 |
tree | 9f22908e9a8fb7d6ad69c70a423b165cc27a2a8d | |
parent | cd3fb32a72c17ff45fd671b12e8b5f018df527b4 [diff] |
target: tcm_loop: Improve a size determination in two functions Replace the specification of data structures by pointer dereferences as the parameter for the operator "sizeof" to make the corresponding size determination a bit safer according to the Linux coding style convention. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring <elfring@users.sourceforge.net> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>