Re: [PATCH] clocksource: Use GENMASK_ULL in definition of CLOCKSOURCE_MASK

2017-04-17 Thread Matthias Kaehlcke
Hi Dmitry, El Fri, Apr 14, 2017 at 09:02:03PM -0700 Dmitry Torokhov ha dit: > On Tue, Apr 11, 2017 at 12:17 PM, Matthias Kaehlcke wrote: > > Besides reusing existing code this removes the special case handling > > for 64-bit masks, which causes clang to raise a shift count

Re: [PATCH] clocksource: Use GENMASK_ULL in definition of CLOCKSOURCE_MASK

2017-04-17 Thread Matthias Kaehlcke
Hi Dmitry, El Fri, Apr 14, 2017 at 09:02:03PM -0700 Dmitry Torokhov ha dit: > On Tue, Apr 11, 2017 at 12:17 PM, Matthias Kaehlcke wrote: > > Besides reusing existing code this removes the special case handling > > for 64-bit masks, which causes clang to raise a shift count overflow > > warning

Re: [PATCH] clocksource: Use GENMASK_ULL in definition of CLOCKSOURCE_MASK

2017-04-14 Thread Dmitry Torokhov
Hi Matthias, On Tue, Apr 11, 2017 at 12:17 PM, Matthias Kaehlcke wrote: > Besides reusing existing code this removes the special case handling > for 64-bit masks, which causes clang to raise a shift count overflow > warning due to https://bugs.llvm.org//show_bug.cgi?id=10030.

Re: [PATCH] clocksource: Use GENMASK_ULL in definition of CLOCKSOURCE_MASK

2017-04-14 Thread Dmitry Torokhov
Hi Matthias, On Tue, Apr 11, 2017 at 12:17 PM, Matthias Kaehlcke wrote: > Besides reusing existing code this removes the special case handling > for 64-bit masks, which causes clang to raise a shift count overflow > warning due to https://bugs.llvm.org//show_bug.cgi?id=10030. > > Suggested-by:

[PATCH] clocksource: Use GENMASK_ULL in definition of CLOCKSOURCE_MASK

2017-04-11 Thread Matthias Kaehlcke
Besides reusing existing code this removes the special case handling for 64-bit masks, which causes clang to raise a shift count overflow warning due to https://bugs.llvm.org//show_bug.cgi?id=10030. Suggested-by: Dmitry Torokhov Signed-off-by: Matthias Kaehlcke

[PATCH] clocksource: Use GENMASK_ULL in definition of CLOCKSOURCE_MASK

2017-04-11 Thread Matthias Kaehlcke
Besides reusing existing code this removes the special case handling for 64-bit masks, which causes clang to raise a shift count overflow warning due to https://bugs.llvm.org//show_bug.cgi?id=10030. Suggested-by: Dmitry Torokhov Signed-off-by: Matthias Kaehlcke --- include/linux/clocksource.h