On Mon, 26 Dec 2022 13:01:57 +0900, tkuw584924@gmail.com wrote:
From: Takahiro Kuwano Takahiro.Kuwano@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-T...
[...]
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,