aboutsummaryrefslogtreecommitdiffstats
path: root/mm/frontswap.c
diff options
context:
space:
mode:
authorXiubo Li <lixiubo@cmss.chinamobile.com>2015-02-26 01:58:19 -0500
committerMarcelo Tosatti <mtosatti@redhat.com>2015-03-10 09:37:43 -0400
commit893bdbf16574e781504ea2a767ff8919d1394e52 (patch)
tree7bbf7de4d0ae552be5d664dd1bd3ed80a398c663 /mm/frontswap.c
parent548ef28449c0c06f92194c40ff0eaed248cb4b75 (diff)
KVM: Fix WARNINGs for 'sizeof(X)' instead of 'sizeof X' in kvm_main.c
There are many WARNINGs like this: WARNING: sizeof tr should be sizeof(tr) + if (copy_from_user(&tr, argp, sizeof tr)) In kvm_main.c many places are using 'sizeof(X)', and the other places are using 'sizeof X', while the kernel recommands to use 'sizeof(X)', so this patch will replace all 'sizeof X' to 'sizeof(X)' to make them consistent and at the same time to reduce the WARNINGs noise when we are checking new patches. Signed-off-by: Xiubo Li <lixiubo@cmss.chinamobile.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'mm/frontswap.c')
0 files changed, 0 insertions, 0 deletions