Message ID | 20220617080243.2177583-1-mpe@ellerman.id.au (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
Series | powerc: Update asm-prototypes.h comment | expand |
Context | Check | Description |
---|---|---|
snowpatch_ozlabs/github-powerpc_selftests | success | Successfully ran 10 jobs. |
snowpatch_ozlabs/github-powerpc_ppctests | success | Successfully ran 10 jobs. |
snowpatch_ozlabs/github-powerpc_sparse | success | Successfully ran 4 jobs. |
snowpatch_ozlabs/github-powerpc_clang | success | Successfully ran 7 jobs. |
snowpatch_ozlabs/github-powerpc_kernel_qemu | success | Successfully ran 23 jobs. |
On Fri, 2022-06-17 at 18:02 +1000, Michael Ellerman wrote: > This header was recently cleaned up in commit 76222808fc25 ("powerpc: > Move C prototypes out of asm-prototypes.h"), update the comment to > reflect it's proper purpose. > > Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Hi Michael, subject says "powerc" instead of "powerpc". - clippy
Russell Currey <ruscur@russell.cc> writes: > On Fri, 2022-06-17 at 18:02 +1000, Michael Ellerman wrote: >> This header was recently cleaned up in commit 76222808fc25 ("powerpc: >> Move C prototypes out of asm-prototypes.h"), update the comment to >> reflect it's proper purpose. >> >> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> > > Hi Michael, subject says "powerc" instead of "powerpc". Thanks. I actually do have a script that checks for that, although I don't always remember to run it :} cheers
On Fri, 17 Jun 2022 18:02:43 +1000, Michael Ellerman wrote: > This header was recently cleaned up in commit 76222808fc25 ("powerpc: > Move C prototypes out of asm-prototypes.h"), update the comment to > reflect it's proper purpose. > > Applied to powerpc/next. [1/1] powerc: Update asm-prototypes.h comment https://git.kernel.org/powerpc/c/2d386769753a71e57a1a38c7fb79013d3ac451e9 cheers
diff --git a/arch/powerpc/include/asm/asm-prototypes.h b/arch/powerpc/include/asm/asm-prototypes.h index d995c65d18ab..eda6dba9378f 100644 --- a/arch/powerpc/include/asm/asm-prototypes.h +++ b/arch/powerpc/include/asm/asm-prototypes.h @@ -2,8 +2,9 @@ #ifndef _ASM_POWERPC_ASM_PROTOTYPES_H #define _ASM_POWERPC_ASM_PROTOTYPES_H /* - * This file is for prototypes of C functions that are only called - * from asm, and any associated variables. + * This file is for C prototypes of asm symbols that are EXPORTed. + * It allows the modversions logic to see their prototype and + * generate proper CRCs for them. * * Copyright 2016, Daniel Axtens, IBM Corporation. */
This header was recently cleaned up in commit 76222808fc25 ("powerpc: Move C prototypes out of asm-prototypes.h"), update the comment to reflect it's proper purpose. Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> --- arch/powerpc/include/asm/asm-prototypes.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)