summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/nouveau/nouveau_led.c
diff options
context:
space:
mode:
authorChristoph Böhmwalder <christoph@boehmwalder.at>2017-11-30 22:53:54 +0300
committerBen Skeggs <bskeggs@redhat.com>2018-02-02 08:24:03 +0300
commit94ee54dc808aa5a13630b082d6f892d0cf7bf527 (patch)
tree06ca5aae8bfe7f775d3a93db09cd092881b9d637 /drivers/gpu/drm/nouveau/nouveau_led.c
parentfe9748b7b41cee11f8db57fb8b20bc540a33102a (diff)
downloadlinux-94ee54dc808aa5a13630b082d6f892d0cf7bf527.tar.xz
drm/nouveau/drm/nouveau/mmu: fix odd_ptr_err.cocci warnings
The kbuild test bot complained about a new coccinelle warning nearby, which sparked a discussion about the assignment to 'memory' inside of the conditional expression. See Link below for the original post. Fix the assignment to silence the coccinelle warning and also make the code look a little nicer. Link: https://lists.freedesktop.org/archives/nouveau/2017-November/029242.html Signed-off-by: Christoph Böhmwalder <christoph@boehmwalder.at> Signed-off-by: Ben Skeggs <bskeggs@redhat.com> Reviewed-by: Karol Herbst <kherbst@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_led.c')
0 files changed, 0 insertions, 0 deletions