Re: [PATCH v2] mtd: Convert fallthrough comments into statements

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wednesday, March 25, 2020 11:21:15 PM EET Miquel Raynal wrote:
> --- a/drivers/mtd/spi-nor/sfdp.c
> +++ b/drivers/mtd/spi-nor/sfdp.c
> @@ -623,7 +623,6 @@ static u8 spi_nor_smpt_addr_width(const struct spi_nor
> *nor, const u32 settings) case SMPT_CMD_ADDRESS_LEN_4:
>                 return 4;
>         case SMPT_CMD_ADDRESS_LEN_USE_CURRENT:
> -               /* fall through */

just noticed that you forgot the statement here.

>         default:
>                 return nor->addr_width;
>         }




______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux