diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2016-07-22 15:00:21 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2016-07-25 10:26:50 +0200 |
commit | 370e90bac98c4e1073578c16f46d5a123b8df052 (patch) | |
tree | 4bdff227281870d894e3fec545e9bfd3330127d6 /Makefile | |
parent | c77af5e5cb9949bf11eee432ead5e2cf1efb8dcc (diff) | |
download | barebox-370e90bac98c4e1073578c16f46d5a123b8df052.tar.gz barebox-370e90bac98c4e1073578c16f46d5a123b8df052.tar.xz |
nand: mrvl: use ERR_CAST() for returning error pointers
ERR_CAST exists to return error pointers as error pointers without
casting them explicitly to the correct pointer type.
Also this Fixes:
In function 'alloc_nand_resource':
warning: return makes pointer from integer without a cast
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions