diff options
author | Andrzej Pietrasiewicz <andrzej.p@samsung.com> | 2017-08-11 13:50:00 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-08-20 13:59:52 +0200 |
commit | 65d5c96dd8c1c87003a073f3d0dd67ac09d28766 (patch) | |
tree | 14e6d5ffc5aeccfbcd9b8c4b11067510f7bf2957 /include/net/mip6.h | |
parent | media: ddbridge: get rid of fall though gcc 7.1 warnings (diff) | |
download | linux-65d5c96dd8c1c87003a073f3d0dd67ac09d28766.tar.xz linux-65d5c96dd8c1c87003a073f3d0dd67ac09d28766.zip |
media: s5p-jpeg: don't overwrite result's "size" member
Originally the "size" member was modified in a local variable passed to
s5p_jpeg_parse_hdr() but the member was not used by the caller, so it did
not matter. After applying patch
"media: s5p-jpeg: Don't use temporary structure in s5p_jpeg_buf_queue"
the unnecessary assignment started overwriting already assigned "size"
member of the passed structure with an incorrect value.
Fixes: 14a2de14dc0619bf9 ("media: s5p-jpeg: Don't use temporary structure in s5p_jpeg_buf_queue")
Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@samsung.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'include/net/mip6.h')
0 files changed, 0 insertions, 0 deletions