diff options
author | Alexander Usyskin <alexander.usyskin@intel.com> | 2015-09-21 11:45:32 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-04 12:19:23 +0100 |
commit | 84dfe03ae2112b817d5221575d59ba616dc0c3e2 (patch) | |
tree | 219bb1a508bb9792f94610d64d048451fbc14f5b /drivers/mcb | |
parent | fb727077b04f768d0c79d9aa29e958262a9e3d9e (diff) |
mei: hbm: fix error in state check logic
Use || instead && in state check.
The latter is bogus and leads to following warning:
drivers/misc/mei/hbm.c:1212:46: warning: logical ‘and’ of mutually exclusive tests is always false [-Wlogical-op]
Fixes: 70ef835c84b3 ("mei: support for dynamic clients")
Reported-by: David Binderman <dcb314@hotmail.com>
Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/mcb')
0 files changed, 0 insertions, 0 deletions