Tag: ce9d8562536f1289f7cb7afb1d4b2e0d27d2eb2c

USB: serial: fix boolinit.cocci warnings

Author: Mathieu OTHACEHE <m.othacehe@gmail.com> Bool initializations should use true and false. Bool tests don’t need comparisons. Also, use IS_ENABLED instead of ifdef. Generated by: scripts/coccinelle/misc/boolinit.cocci Signed-off-by: Mathieu OTHACEHE Signed-off-by: Johan Hovold — drivers/usb/serial/iuu_phoenix.c | 4 ++– drivers/usb/serial/mos7840.c | 4 ++– drivers/usb/serial/quatech2.c | 2 +- drivers/usb/serial/safe_serial.c | 11 +++——– 4 files changed, 8 insertions(+), 13 deletions(-) …

Continue reading

BtrLinux
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.