[PATCH Trusty SRU 0/3] Remove warnings when building out-of-tree modules with -Wsign-compare

Mauricio Faria de Oliveira mauricfo at linux.vnet.ibm.com
Wed May 21 15:23:55 UTC 2014

This has been identified when policing some code, and is fixed upstream (linux, linux-next).
The patches are 3 clean cherry-picks.

Tested w/ ubuntu-trusty.git master-next branch.

BugLink: http://bugs.launchpad.net/bugs/1321791

Brian W Hart (2):
  cpumask.h: silence warning with -Wsign-compare
  fbdev/fb.h: silence warning with -Wsign-compare

Paul Walmsley (1):
  bitops: Fix signedness of compile-time hweight implementations

 include/asm-generic/bitops/const_hweight.h | 17 +++++++++--------
 include/linux/cpumask.h                    |  2 +-
 include/linux/fb.h                         |  2 +-
 3 files changed, 11 insertions(+), 10 deletions(-)


More information about the kernel-team mailing list