[PATCH V2 3/7] drm/tilcdc: fixing off by one errors found on analyzer