[U-Boot] [PATCH] ZFS: fix some warnings, cleanup

Tom Rini trini at ti.com
Tue Oct 16 02:33:47 CEST 2012


On Wed, Sep 19, 2012 at 05:32:36PM +0200, Pavel Herrmann wrote:

> Fix warnings about type mismatch in cmd_zfs.
> Dont use a global block_dev_desc, instead use a local one in each cmd.
> 
> Signed-off-by: Pavel Herrmann <morpheus.ibis at gmail.com>

[snip]
> -static int do_zfs_load(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
> +static int do_zfs_load(cmd_tbl_t *cmdtp, int flag, int argc,
> +	char * const argv[])

That's a checkpatch warning, please fix.

> -static int do_zfs_ls(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
> +static int do_zfs_ls(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])

Same.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20121015/21671765/attachment.pgp>


More information about the U-Boot mailing list