]> git.baikalelectronics.ru Git - kernel.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)
committerMaxime Ripard <maxime@cerno.tech>
Thu, 29 Apr 2021 10:18:54 +0000 (12:18 +0200)
commit94871697083c2940db93a851db57d5b4fbe5e546
tree4c3f06d1c809dec4fb8a94380f5baf1b6ebd3cdd
parent06a13cc3e73496619671a15f046c8e84750a6380
drm/vc4: fix argument ordering in vc4_crtc_get_margins()

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
drivers/gpu/drm/vc4/vc4_drv.h