drm/dp/mst: Fix off-by-one typo when dump payload table
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 19 Mar 2018 14:19:32 +0000 (16:19 +0200)
committerJani Nikula <jani.nikula@intel.com>
Wed, 28 Mar 2018 06:12:16 +0000 (09:12 +0300)
commit7056a2bccc3b5afc51f9b35b30a46f0d9219968d
tree6fbd0166c96cc542fd4656f3d0487de3c896b24e
parenta7d2a87e99deb5481b5dd723408c42f460de25a3
drm/dp/mst: Fix off-by-one typo when dump payload table

It seems there is a classical off-by-one typo from the beginning
when commit

  ad7f8a1f9ced ("drm/helper: add Displayport multi-stream helper (v0.6)")

introduced a new helper.

Fix a typo by introducing a macro constant.

Cc: Dave Airlie <airlied@redhat.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180319141932.37290-1-andriy.shevchenko@linux.intel.com
drivers/gpu/drm/drm_dp_mst_topology.c