diff options
author | Bernard Zhao <bernard@vivo.com> | 2020-11-18 12:40:19 +0100 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2020-11-18 22:27:49 +0100 |
commit | 58a74c6f1d6f3cf615c8f12281d42859ac7363a9 (patch) | |
tree | 004c4725d9a9a7fc4b2a60c9291c470ef62f930f /drivers/char/agp | |
parent | drm/amdgpu: Fix missing prototype warning (diff) | |
download | linux-58a74c6f1d6f3cf615c8f12281d42859ac7363a9.tar.xz linux-58a74c6f1d6f3cf615c8f12281d42859ac7363a9.zip |
drm/via: fix assignment in if condition
Fix check_patch.pl warning:
ERROR: do not use assignment in if condition
+ if ((HALCYON_HEADER2 == (cmd = *buf)) &&
ERROR: do not use assignment in if condition
+ if (HALCYON_HEADER2 == (cmd = *buf))
Signed-off-by: Bernard Zhao <bernard@vivo.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20201118114021.105502-1-bernard@vivo.com
Diffstat (limited to 'drivers/char/agp')
0 files changed, 0 insertions, 0 deletions