]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
mxc: vpu: explicitly set return value in each code path of vpu_ioctl()
authorLothar Waßmann <LW@KARO-electronics.de>
Thu, 26 Feb 2015 10:01:00 +0000 (11:01 +0100)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 26 Feb 2015 10:01:00 +0000 (11:01 +0100)
commit2ce463ad8fed027df0ad358e46d22c0d3b59c25a
tree5e5bb04fe9279e2e292fa1993f4b81d792a093c5
parent16c19e5df833cd0c075c903811f4c91360780f88
mxc: vpu: explicitly set return value in each code path of vpu_ioctl()

Do not initialize the 'ret' variable, but explicitly set in in each
code path, so that an forgotten assignment in some code path would
lead to an 'uninitialized variable' warning at compile time.
drivers/mxc/vpu/mxc_vpu.c