aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/firmware/google/framebuffer-coreboot.c
diff options
context:
space:
mode:
authorMariusz Bialonczyk <[email protected]>2019-05-30 07:51:25 +0000
committerGreg Kroah-Hartman <[email protected]>2019-06-06 14:15:21 +0000
commitaacd152ecd7b18af5d2d96dea9e7284c1c93abea (patch)
tree8f9cddd2386e64458cc32367c218f4baa1cc014f /drivers/firmware/google/framebuffer-coreboot.c
parentmei: docs: fix broken links in iamt documentation. (diff)
downloadkernel-aacd152ecd7b18af5d2d96dea9e7284c1c93abea.tar.gz
kernel-aacd152ecd7b18af5d2d96dea9e7284c1c93abea.zip
w1: ds2413: fix state byte comparision
This commit is fixing a smatch warning: drivers/w1/slaves/w1_ds2413.c:61 state_read() warn: impossible condition '(*buf == 255) => ((-128)-127 == 255)' by creating additional u8 variable for the bus reading and comparision Reported-by: kbuild test robot <[email protected]> Reported-by: Dan Carpenter <[email protected]> Cc: Dan Carpenter <[email protected]> Fixes: 3856032a0628 ("w1: ds2413: when the slave is not responding during read, select it again") Signed-off-by: Mariusz Bialonczyk <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/firmware/google/framebuffer-coreboot.c')
0 files changed, 0 insertions, 0 deletions