alistair23-linux/drivers/misc
Colin Ian King 912ed8afd6 mei: fix incorrect logical operator in if statement
The current expression using the || operator is always true because
dev->dev_state cannot be equal to two different values at the same time.
Fix this by replacing the || with &&.

Detected by CoverityScan, CID#1463042 ("Constant expression result")

Fixes: 8d52af6795 ("mei: speed up the power down flow")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-01-02 17:09:29 +01:00
..
altera-stapl
c2port kmemcheck: remove annotations 2017-11-15 18:21:04 -08:00
cb710
cxl powerpc fixes for 4.15 #3 2017-12-01 08:40:17 -05:00
echo
eeprom Merge 4.15-rc6 into char-misc-next 2018-01-02 14:46:35 +01:00
genwqe genwqe: Remove unused parameter in some functions 2017-12-19 10:54:44 +01:00
ibmasm Merge branch 'for-linus' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2017-11-15 10:14:11 -08:00
lis3lv02d
mei mei: fix incorrect logical operator in if statement 2018-01-02 17:09:29 +01:00
mic misc: mic: remove unused label 'done' 2017-12-18 15:59:18 +01:00
sgi-gru
sgi-xp Merge branch 'timers-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2017-11-13 17:56:58 -08:00
ti-st
vmw_vmci
ad525x_dpot-i2c.c
ad525x_dpot-spi.c
ad525x_dpot.c misc: ad525x_dpot: macros should not use a trailing semicolon 2017-12-18 16:02:26 +01:00
ad525x_dpot.h misc: ad525x_dpot: Unnecessary space before function pointer arguments 2017-12-18 15:59:17 +01:00
apds990x.c misc: apds990x: Missing a blank line after declarations. 2017-12-18 16:02:26 +01:00
apds9802als.c
aspeed-lpc-ctrl.c
aspeed-lpc-snoop.c
atmel-ssc.c
atmel_tclib.c
bh1770glc.c
cs5535-mfgpt.c
ds1682.c
dummy-irq.c
enclosure.c misc: enclosure: Remove unnecessary error check 2017-12-07 18:45:31 +01:00
fsa9480.c
hmc6352.c
hpilo.c misc: hpilo: Use SPDX-License-Identifier 2017-12-07 18:45:31 +01:00
hpilo.h misc: hpilo: Use SPDX-License-Identifier 2017-12-07 18:45:31 +01:00
ics932s401.c misc: ics932s401: open brace should be on the previous line 2017-12-18 16:00:57 +01:00
ioc4.c
isl29003.c misc: isl29003: Missing a blank line after declarations 2017-12-07 18:45:31 +01:00
isl29020.c
Kconfig
kgdbts.c treewide: Fix function prototypes for module_param_call() 2017-10-31 15:30:37 +01:00
lattice-ecp3-config.c
lkdtm.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
lkdtm_bugs.c lkdtm: include WARN format string 2017-11-17 16:10:01 -08:00
lkdtm_core.c lkdtm, kprobes: Convert from jprobes to kprobes 2017-10-23 13:52:45 +02:00
lkdtm_heap.c lkdtm: Missing kmalloc check 2017-11-28 16:33:03 +01:00
lkdtm_perms.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
lkdtm_refcount.c
lkdtm_rodata.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
lkdtm_usercopy.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Makefile Staging/IIO patches for 4.15-rc1 2017-11-13 20:53:28 -08:00
pch_phub.c
pci_endpoint_test.c misc: pci_endpoint_test: Fix BUG_ON error during pci_disable_msi() 2017-10-31 15:33:46 -05:00
phantom.c
pti.c drivers/misc/intel/pti: Rename the header file to free up the namespace 2017-12-17 12:52:34 +01:00
qcom-coincell.c
spear13xx_pcie_gadget.c
sram-exec.c
sram.c
sram.h
tifm_7xx1.c
tifm_core.c
tsl2550.c
vexpress-syscfg.c misc: vexpress: Use PTR_ERR_OR_ZERO() 2017-12-07 18:45:31 +01:00
vmw_balloon.c x86/virt: Add enum for hypervisors to replace x86_hyper 2017-11-10 10:03:12 +01:00