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

Pavel Herrmann morpheus.ibis at gmail.com
Tue Oct 16 15:38:32 CEST 2012


Hi

On Monday 15 of October 2012 17:33:47 Tom Rini wrote:
> 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.

This patch is no longer relevant, as the important bits have been merged in 
next by Rob Herring as a part of the get_device_and_partition patch

Pavel Herrmann


More information about the U-Boot mailing list