diff options
author | Sakari Ailus <sakari.ailus@linux.intel.com> | 2020-10-13 15:12:02 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-11-16 12:31:15 +0300 |
commit | 98f9aafa9f411bbc4f352191340b74db0ba908a8 (patch) | |
tree | 98aed6a3f70bb6789950c334cb719a2a80410c9f /Documentation/driver-api | |
parent | 3abafaf41ab743162cae543932d94575d483ecbb (diff) | |
download | linux-98f9aafa9f411bbc4f352191340b74db0ba908a8.tar.xz |
media: ipu3-cio2: Check receved the size against payload size, not buffer size
Compare the received size of the payload size, not the allocated size of
the buffer that is page aligned. This way also images that aren't aligned
to page size are not warned about.
Also wrap a line over 80 characters.
Suggested-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Tested-by: Jean-Michel Hautbois <jeanmichel.hautbois@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'Documentation/driver-api')
0 files changed, 0 insertions, 0 deletions