diff mbox series

Documentation/arch/arm64: Correct SME ZA macros name

Message ID 20230721132755.195453-1-david.spickett@linaro.org (mailing list archive)
State New, archived
Headers show
Series Documentation/arch/arm64: Correct SME ZA macros name | expand

Commit Message

David Spickett July 21, 2023, 1:27 p.m. UTC
It should be ZA_PT_ZA*. ZA_PT_ZA_OFFSET is one example.

It is not ZA_PT_ZA_* because there is one macro ZA_PT_ZAV_OFFSET
that doesn't fit that pattern.

Fixes: 96d32e630935 ("arm64/sme: Provide ABI documentation for SME")
Signed-off-by: David Spickett <david.spickett@linaro.org>
Cc: Mark Brown <broonie@kernel.org>
---
 Documentation/arch/arm64/sme.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Mark Brown July 21, 2023, 2:42 p.m. UTC | #1
On Fri, Jul 21, 2023 at 02:27:55PM +0100, David Spickett wrote:
> It should be ZA_PT_ZA*. ZA_PT_ZA_OFFSET is one example.
> 
> It is not ZA_PT_ZA_* because there is one macro ZA_PT_ZAV_OFFSET
> that doesn't fit that pattern.

Reviewed-by: Mark Brown <broonie@kernel.org>

however you should send a copy to Catalin and Will as well as the list.
diff mbox series

Patch

diff --git a/Documentation/arch/arm64/sme.rst b/Documentation/arch/arm64/sme.rst
index ba529a1dc606..3d0e53ecac4f 100644
--- a/Documentation/arch/arm64/sme.rst
+++ b/Documentation/arch/arm64/sme.rst
@@ -322,7 +322,7 @@  The regset data starts with struct user_za_header, containing:
   VL is supported.
 
 * The size and layout of the payload depends on the header fields.  The
-  SME_PT_ZA_*() macros are provided to facilitate access to the data.
+  ZA_PT_ZA*() macros are provided to facilitate access to the data.
 
 * In either case, for SETREGSET it is permissible to omit the payload, in which
   case the vector length and flags are changed and PSTATE.ZA is set to 0