On 02/08/2019 04:23 PM, Bean Huo (beanhuo) wrote:
> Change SNOR_HWCPAS_READ_OCTAL to SNOR_HWCAPS_READ_OCTAL.
> 
> Signed-off-by: Bean Huo <bean...@micron.com>

$ ./scripts/checkpatch.pl --strict
v2-mtd-spi-nor-Fix-wrong-abbreviation-HWCPAS.patch
WARNING: Missing Signed-off-by: line by nominal patch author 'Bean Huo (beanhuo)
<bean...@micron.com>'

There are scripts that check that the author/committer has its SoB, depending on
how strict the check is, it might complaint that SoB an author/committer do not
match, so please change gitconfig to make them match.

> ---
>  include/linux/mtd/spi-nor.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/include/linux/mtd/spi-nor.h b/include/linux/mtd/spi-nor.h
> index 2353af8..b3d360b 100644
> --- a/include/linux/mtd/spi-nor.h
> +++ b/include/linux/mtd/spi-nor.h
> @@ -487,7 +487,7 @@ struct spi_nor_hwcaps {
>  #define SNOR_HWCAPS_READ_4_4_4               BIT(9)
>  #define SNOR_HWCAPS_READ_1_4_4_DTR   BIT(10)
>  
> -#define SNOR_HWCPAS_READ_OCTAL               GENMASK(14, 11)
> +#define SNOR_HWCAPS_READ_OCTAL               GENMASK(14, 11)
>  #define SNOR_HWCAPS_READ_1_1_8               BIT(11)
>  #define SNOR_HWCAPS_READ_1_8_8               BIT(12)
>  #define SNOR_HWCAPS_READ_8_8_8               BIT(13)
> 

Reply via email to