diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2016-05-27 16:03:22 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-05-27 16:03:22 -0700 |
commit | aa00edc1287a693eadc7bc67a3d73555d969b35d (patch) | |
tree | 6dd91f62751407ea50e64c37f7e8a09bde803134 /fs/nfsd/blocklayoutxdr.c | |
parent | 5d22fc25d4fc8096d2d7df27ea1893d4e055e764 (diff) | |
download | talos-op-linux-aa00edc1287a693eadc7bc67a3d73555d969b35d.tar.gz talos-op-linux-aa00edc1287a693eadc7bc67a3d73555d969b35d.zip |
make IS_ERR_VALUE() complain about non-pointer-sized arguments
Now that the allmodconfig x86-64 build is clean wrt IS_ERR_VALUE() uses
on integers, add a cast to a pointer and back to the argument, so that
any new mis-uses of IS_ERR_VALUE() will cause warnings like
warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
so that we don't re-introduce any bogus uses.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/nfsd/blocklayoutxdr.c')
0 files changed, 0 insertions, 0 deletions