diff options
author | Markus Elfring <[email protected]> | 2017-07-06 15:40:37 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2017-07-06 16:24:35 -0700 |
commit | 9cd1f701ce47599ddfb589afeb88b5513b6915bc (patch) | |
tree | a96b8932c08991aca39307a7913b3853e436da92 /scripts/gdb/linux/proc.py | |
parent | f4ae0ce0fde0de70acb48d825c1f40b0dfe8e6b8 (diff) |
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/[email protected]
Signed-off-by: Markus Elfring <[email protected]>
Cc: Dan Streetman <[email protected]>
Cc: Seth Jennings <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions