diff options
| author | Arnd Bergmann <arnd@arndb.de> | 2017-09-05 10:47:26 +0300 |
|---|---|---|
| committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2017-09-06 09:39:55 +0300 |
| commit | 67a3b63a54cbe18944191f43d644686731cf30c7 (patch) | |
| tree | 7251bfe44e045528b3820d1e8a19d74027518ad9 /net/lapb/lapb_in.c | |
| parent | ff58a15a502a900c35ff2f20182249b65719d6d7 (diff) | |
| download | linux-67a3b63a54cbe18944191f43d644686731cf30c7.tar.xz | |
drm: gma500: fix logic error
gcc-8 points out a condition that almost certainly doesn't
do what the author had in mind:
drivers/gpu/drm/gma500/mdfld_intel_display.c: In function 'mdfldWaitForPipeEnable':
drivers/gpu/drm/gma500/mdfld_intel_display.c:102:37: error: bitwise comparison always evaluates to false [-Werror=tautological-compare]
This changes it to a simple bit mask operation to check
whether the bit is set.
Fixes: 026abc333205 ("gma500: initial medfield merge")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20170905074741.435324-1-arnd@arndb.de
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions
