diff options
author | Ezequiel Garcia <ezequiel.garcia@free-electrons.com> | 2014-05-05 07:11:52 -0300 |
---|---|---|
committer | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2014-07-28 18:52:06 +0300 |
commit | 495f2bf6c4ed2da5dcadac96312f71da2a5af949 (patch) | |
tree | 950867b4504638cbff5532491308a59f619a68c8 /drivers/spi | |
parent | 545f7fdf6db866c26ac92346b35bc6489fb926d1 (diff) | |
download | linux-495f2bf6c4ed2da5dcadac96312f71da2a5af949.tar.bz2 |
UBI: block: Make ubiblock_resize return something
Currently, ubiblock_resize() can fail if the device is not found
in the list. This commit changes the return type, so the function can
return something meaningful on error paths.
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Diffstat (limited to 'drivers/spi')
0 files changed, 0 insertions, 0 deletions