summaryrefslogtreecommitdiff
path: root/lib/crc-ccitt.c
diff options
context:
space:
mode:
authorMarkus Elfring <elfring@users.sourceforge.net>2017-07-07 01:40:37 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2017-07-07 02:24:35 +0300
commit9cd1f701ce47599ddfb589afeb88b5513b6915bc (patch)
treea96b8932c08991aca39307a7913b3853e436da92 /lib/crc-ccitt.c
parentf4ae0ce0fde0de70acb48d825c1f40b0dfe8e6b8 (diff)
downloadlinux-9cd1f701ce47599ddfb589afeb88b5513b6915bc.tar.xz
mm/zswap.c: improve a size determination in zswap_frontswap_init()
Replace the specification of a data structure by a pointer dereference as the parameter for the operator "sizeof" to make the corresponding size determination a bit safer according to the Linux coding style convention. Link: http://lkml.kernel.org/r/19f9da22-092b-f867-bdf6-f4dbad7ccf1f@users.sourceforge.net Signed-off-by: Markus Elfring <elfring@users.sourceforge.net> Cc: Dan Streetman <ddstreet@ieee.org> Cc: Seth Jennings <sjenning@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/crc-ccitt.c')
0 files changed, 0 insertions, 0 deletions