On Mon, Nov 07, 2016 at 12:12:01AM +0100, Shiva Kerdel wrote:
> Fixed reports from checkpatch that pointed out that the code was not
> using the preferred types of the kernel.
> 
> Signed-off-by: Shiva Kerdel <sh...@exdev.nl>
> ---
>  drivers/staging/fsl-mc/bus/dpmcp.h      | 80 
> ++++++++++++++++-----------------
>  drivers/staging/fsl-mc/include/mc-bus.h |  4 +-
>  drivers/staging/fsl-mc/include/mc.h     |  2 +-
>  3 files changed, 43 insertions(+), 43 deletions(-)
> 
> diff --git a/drivers/staging/fsl-mc/bus/dpmcp.h 
> b/drivers/staging/fsl-mc/bus/dpmcp.h
> index fe79d4d..684c5b5 100644
> --- a/drivers/staging/fsl-mc/bus/dpmcp.h
> +++ b/drivers/staging/fsl-mc/bus/dpmcp.h
> @@ -39,7 +39,7 @@
>  struct fsl_mc_io;
>  
>  int dpmcp_open(struct fsl_mc_io *mc_io,
> -            uint32_t cmd_flags,
> +            u32 cmd_flags,
>              int dpmcp_id,
>              uint16_t *token);
>  
> @@ -47,7 +47,7 @@ int dpmcp_open(struct fsl_mc_io *mc_io,
>  #define DPMCP_GET_PORTAL_ID_FROM_POOL (-1)
>  
>  int dpmcp_close(struct fsl_mc_io *mc_io,
> -             uint32_t cmd_flags,
> +             u32 cmd_flags,
>               uint16_t token);
>  
>  /**
> @@ -60,16 +60,16 @@ struct dpmcp_cfg {
>  };
>  
>  int dpmcp_create(struct fsl_mc_io    *mc_io,
> -              uint32_t               cmd_flags,
> +              u32                    cmd_flags,
>                const struct dpmcp_cfg *cfg,
> -             uint16_t                *token);
> +              uint16_t               *token);

Why did you change the indentation of this line?

Please only do one type of thing, like change the unit32_t types to u32,
in one patch, then do the uint64_t, and then, you forgot the uint16_t
changes :(

Please fix up and make a patch series for this.

thanks,

greg k-h
_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to