[PATCH v2 0/3] mtd: spi-nor: sfdp: Introduce SFDP_DWORD() macro

Tudor Ambarus tudor.ambarus at linaro.org
Mon Dec 26 00:21:31 PST 2022


On Mon, 26 Dec 2022 13:01:57 +0900, tkuw584924 at gmail.com wrote:
> From: Takahiro Kuwano <Takahiro.Kuwano at infineon.com>
> 
> Existing BFPT_DWORD() converts 1-based indexing to 0-based indexing for
> C arrays, and is used in BFPT parse. This is applicable to other parameter
> tables than BFPT.
> 
> Based on a suggestion in:
> https://patchwork.ozlabs.org/project/linux-mtd/patch/20220912051317.2369-1-Takahiro.Kuwano@infineon.com/
> 
> [...]

Applied to spi-nor/next, thanks!

[1/3] mtd: spi-nor: sfdp: Fix index value for SCCR dwords
      https://git.kernel.org/mtd/c/ad9679f38118
[2/3] mtd: spi-nor: sfdp: Rename BFPT_DWORD() macro to SFDP_DWORD()
      https://git.kernel.org/mtd/c/86d4cdf88c81
[3/3] mtd: spi-nor: sfdp: Use SFDP_DWORD() macro for optional parameter tables
      https://git.kernel.org/mtd/c/55398beb0846

Best regards,
-- 
Tudor Ambarus <tudor.ambarus at linaro.org>



More information about the linux-mtd mailing list