aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorMathieu Malaterre <malat@debian.org>2018-03-02 20:50:51 +0100
committerMichael Ellerman <mpe@ellerman.id.au>2018-03-13 15:50:41 +1100
commitef85dffd4251ff6c23056651f6f83bdce83cd1cf (patch)
tree831767727f20622f70b91eeab2966bb9e77284de /tools/perf/scripts/python/export-to-sqlite.py
parentpowerpc: Avoid comparison of unsigned long >= 0 in pfn_valid() (diff)
downloadlinux-ef85dffd4251ff6c23056651f6f83bdce83cd1cf.tar.gz
linux-ef85dffd4251ff6c23056651f6f83bdce83cd1cf.zip
powerpc: Avoid comparison of unsigned long >= 0 in __access_ok()
Rewrite function-like macro into regular static inline function to avoid a warning during macro expansion. Fix warning (treated as error in W=1): ./arch/powerpc/include/asm/uaccess.h:52:35: error: comparison of unsigned expression >= 0 is always true (((size) == 0) || (((size) - 1) <= ((segment).seg - (addr))))) ^ Suggested-by: Segher Boessenkool <segher@kernel.crashing.org> Signed-off-by: Mathieu Malaterre <malat@debian.org> Reviewed-by: Christophe Leroy <christophe.leroy@c-s.fr> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions