diff options
author | 2017-08-24 13:50:24 -0400 | |
---|---|---|
committer | 2017-08-24 13:50:24 -0400 | |
commit | d695a1bea351276615ad270860bc1fbddcfbaeb3 (patch) | |
tree | 33004cb952ec2f739c35b15f3e870e6eb5bf1fc2 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ext4: in ext4_seek_{hole,data}, return -ENXIO for negative offsets (diff) | |
download | wireguard-linux-d695a1bea351276615ad270860bc1fbddcfbaeb3.tar.xz wireguard-linux-d695a1bea351276615ad270860bc1fbddcfbaeb3.zip |
ext4: use sizeof(*ptr)
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: Theodore Ts'o <tytso@mit.edu>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions