sparse reports the following warning "warning: dubious: x & !y".
Replaced te logical not with bitwise to resolve the warning
Signed-off-by: Quentin Swain <dudebrobro...@gmail.com>
---
drivers/staging/pi433/rf69.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Running sparse produced warnings regarding use of conflicting
enum types and logical vs bitwise operator use.
Signed-off-by: Quentin Swain <dudebrobro...@gmail.com>
---
drivers/staging/pi433/pi433_if.c | 4 ++--
drivers/staging/pi433/rf69.c | 2 +-
2 files changed, 3 insertions
Mistyped the address for the staging list in the first email. Sorry about that.
___
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
---
drivers/staging/iio/light/tsl2x7x_core.c | 20 ++--
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/drivers/staging/iio/light/tsl2x7x_core.c
b/drivers/staging/iio/light/tsl2x7x_core.c
index af3910b..c63fe6a 100644
--- a/drivers/staging/iio/light/tsl2x7x_core.c
Convert S_IRUGO and S_IWUSR macros to octal permissions to resolve
warnings reported by checkpatch.pl
Signed-off-by: Quentin Swain <dudebrobro...@gmail.com>
---
drivers/staging/iio/meter/ade7753.c | 46 ++---
1 file changed, 23 insertions(+), 23 deletions(-)
Convert symbolic S_IRUGO and S_IWUSR macros to octal permissions
to resolve warnings reported by checkpatch.pl
Signed-off-by: Quentin Swain <dudebrobro...@gmail.com>
---
drivers/staging/iio/meter/ade7754.c | 56 ++---
1 file changed, 28 insertions(+), 28 del
Convert symbolic S_IRUGO and S_IWUSR macros to octal permissions to
fix warnings reported by checkpatch.pl
Signed-off-by: Quentin Swain <dudebrobro...@gmail.com>
---
drivers/staging/iio/meter/ade7758_core.c | 50
1 file changed, 25 insertions(+), 25 del
Remove checkpatch warnings by converting symbolic S_IRUGO and S_IWUSR
permissions to octal
Signed-off-by: Quentin Swain <dudebrobro...@gmail.com>
---
drivers/staging/iio/frequency/ad9834.c | 22 +++---
drivers/staging/iio/frequency/dds.h| 2 +-
2 files changed, 12 inse
Convert symbolic S_IRUGO and S_IWUSR macros to octal to fix
warnings reported by checkpatch.pl
Signed-off-by: Quentin Swain <dudebrobro...@gmail.com>
---
drivers/staging/iio/meter/ade7854.c | 88 ++---
1 file changed, 44 insertions(+), 44 deletions(-)
diff
Replace the use of symbolic permissions macros, S_IRUGO and S_IWUSR,
with octal permissons to resolve errors reported by checkpatch.pl.
checkpatch.pl still reports errors for use of decimal permissions in a
handful of cases where the macros were replaced with the octal in
ad9834 and ade7753. It
10 matches
Mail list logo