[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200427220942.0bf6b851@xps13>
Date: Mon, 27 Apr 2020 22:09:42 +0200
From: Miquel Raynal <miquel.raynal@...tlin.com>
To: "Gustavo A. R. Silva" <gustavo@...eddedor.com>
Cc: linux-kernel@...r.kernel.org, Richard Weinberger <richard@....at>,
Vignesh Raghavendra <vigneshr@...com>,
linux-mtd@...ts.infradead.org, Joe Perches <joe@...ches.com>
Subject: Re: [PATCH v2 3/3] mtd: lpddr: Move function print_drs_error to
lpddr_cmds.c
Hi Gustavo,
"Gustavo A. R. Silva" <gustavo@...eddedor.com> wrote on Mon, 27 Apr
2020 14:56:08 -0500:
> Function print_drs_error is only used in drivers/mtd/lpddr/lpddr_cmds.c
> so, better to move it there.
>
> Also, notice that there's no need for inline as the function is used
> once. Lastly, fix the following checkpatch warning:
>
> WARNING: Prefer 'unsigned int' to bare use of 'unsigned'
> +static void print_drs_error(unsigned dsr)
>
> Suggested-by: Joe Perches <joe@...ches.com>
> Signed-off-by: Gustavo A. R. Silva <gustavo@...eddedor.com>
> ---
> Changes in v2:
> - Remove inline from print_drs_error and update changelog text,
> accordingly.
>
Reviewed-by: Miquel Raynal <miquel.raynal@...tlin.com>
Thanks,
Miquèl
Powered by blists - more mailing lists