[PATCH 0/5] include/linux/log2.h warning fix

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Everyone:

This series is result of fixing compiler warnings similar to the one
below:

In file included from drivers/clk/clk-divider.c:22:
include/linux/log2.h:22:1: warning: ignoring attribute ‘noreturn’ because it conflicts with attribute ‘const’ [-Wattributes]
 int ____ilog2_NaN(void);

that I've been observing lately. Technically only the patch by Linus
is really needed, but given that those patches could be applied as-is
pretty easily I "backported" all of the recent kernel changes to
log2.h

Feedback is welcome!

Thanks,
Andrey Smirnov

Andrey Smirnov (1):
  log2: Use fls_long() in __roundup_pow_of_two()

Ard Biesheuvel (1):
  log2: make order_base_2() behave correctly on const input value zero

Linus Torvalds (1):
  give up on gcc ilog2() constant optimizations

Martin Wilck (1):
  scsi: ilog2: create truly constant version for sparse

Randy Dunlap (1):
  linux/log2.h: fix kernel-doc notation

 include/linux/log2.h | 89 +++++++++++++++++++++++++++-----------------
 1 file changed, 54 insertions(+), 35 deletions(-)

-- 
2.17.1


_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox




[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux