]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/vc4: fix argument ordering in vc4_crtc_get_margins()
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 21 Apr 2021 10:18:03 +0000 (13:18 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 19 Jul 2021 08:00:43 +0000 (10:00 +0200)
commit7566dd56777605c0594ef3ac0969806ef8a064c1
tree704ca503103ca42088ac3743f5781256986779d6
parentd819e979411bede216756e38ce29313b2a74b558
drm/vc4: fix argument ordering in vc4_crtc_get_margins()

[ Upstream commit e590c2b03a6143ba93ddad306bc9eaafa838c020 ]

Cppcheck complains that the declaration doesn't match the function
definition.  Obviously "left" should come before "right".  The caller
and the function implementation are done this way, it's just the
declaration which is wrong so this doesn't affect runtime.

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/YH/720FD978TPhHp@mwanda
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/vc4/vc4_drv.h