Loading drivers/input/misc/cma3000_d0x.c +1 −1 Original line number Diff line number Diff line Loading @@ -58,7 +58,7 @@ /* * Bit weights in mg for bit 0, other bits need * multipy factor 2^n. Eight bit is the sign bit. * multiply factor 2^n. Eight bit is the sign bit. */ #define BIT_TO_2G 18 #define BIT_TO_8G 71 Loading sound/oss/vwsnd.c +1 −1 Original line number Diff line number Diff line Loading @@ -438,7 +438,7 @@ static __inline__ void li_writeb(lithium_t *lith, int off, unsigned char val) * * Observe that (mask & -mask) is (1 << low_set_bit_of(mask)). * As long as mask is constant, we trust the compiler will change the * multipy and divide into shifts. * multiply and divide into shifts. */ #define SHIFT_FIELD(val, mask) (((val) * ((mask) & -(mask))) & (mask)) Loading Loading
drivers/input/misc/cma3000_d0x.c +1 −1 Original line number Diff line number Diff line Loading @@ -58,7 +58,7 @@ /* * Bit weights in mg for bit 0, other bits need * multipy factor 2^n. Eight bit is the sign bit. * multiply factor 2^n. Eight bit is the sign bit. */ #define BIT_TO_2G 18 #define BIT_TO_8G 71 Loading
sound/oss/vwsnd.c +1 −1 Original line number Diff line number Diff line Loading @@ -438,7 +438,7 @@ static __inline__ void li_writeb(lithium_t *lith, int off, unsigned char val) * * Observe that (mask & -mask) is (1 << low_set_bit_of(mask)). * As long as mask is constant, we trust the compiler will change the * multipy and divide into shifts. * multiply and divide into shifts. */ #define SHIFT_FIELD(val, mask) (((val) * ((mask) & -(mask))) & (mask)) Loading