* Build failure on tpmdd master branch
@ 2023-08-08 13:40 Nayna
2023-08-10 15:34 ` Jarkko Sakkinen
2023-08-10 19:02 ` Jarkko Sakkinen
0 siblings, 2 replies; 4+ messages in thread
From: Nayna @ 2023-08-08 13:40 UTC (permalink / raw)
To: Jarkko Sakkinen; +Cc: linux-integrity@vger.kernel.org
Hi Jarkko,
I rebased the "Enable loading local and third party keys on PowerVM
guest"(
https://lore.kernel.org/linux-integrity/20230714153435.28155-1-nayna@linux.ibm.com/)
on top of tpmdd master branch.
The build is failing due to commit cfa7522f280a ("sysctl: set variable
key_sysctls storage-class-specifier to static"). A patch with the same
subject line is already in your tree. Refer to commit 0de030b30823
("sysctl: set variable key_sysctls storage-class-specifier to static").
Thanks & Regards,
- Nayna
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: Build failure on tpmdd master branch 2023-08-08 13:40 Build failure on tpmdd master branch Nayna @ 2023-08-10 15:34 ` Jarkko Sakkinen 2023-08-10 19:02 ` Jarkko Sakkinen 1 sibling, 0 replies; 4+ messages in thread From: Jarkko Sakkinen @ 2023-08-10 15:34 UTC (permalink / raw) To: Nayna; +Cc: linux-integrity@vger.kernel.org On Tue Aug 8, 2023 at 4:40 PM EEST, Nayna wrote: > Hi Jarkko, > > I rebased the "Enable loading local and third party keys on PowerVM > guest"( > https://lore.kernel.org/linux-integrity/20230714153435.28155-1-nayna@linux.ibm.com/) > on top of tpmdd master branch. > > The build is failing due to commit cfa7522f280a ("sysctl: set variable > key_sysctls storage-class-specifier to static"). A patch with the same > subject line is already in your tree. Refer to commit 0de030b30823 > ("sysctl: set variable key_sysctls storage-class-specifier to static"). > > Thanks & Regards, > > - Nayna Thanks, I'll take a look! BR, Jarkko ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Build failure on tpmdd master branch 2023-08-08 13:40 Build failure on tpmdd master branch Nayna 2023-08-10 15:34 ` Jarkko Sakkinen @ 2023-08-10 19:02 ` Jarkko Sakkinen 2023-08-10 19:13 ` Jarkko Sakkinen 1 sibling, 1 reply; 4+ messages in thread From: Jarkko Sakkinen @ 2023-08-10 19:02 UTC (permalink / raw) To: Nayna; +Cc: linux-integrity@vger.kernel.org On Tue Aug 8, 2023 at 4:40 PM EEST, Nayna wrote: > Hi Jarkko, > > I rebased the "Enable loading local and third party keys on PowerVM > guest"( > https://lore.kernel.org/linux-integrity/20230714153435.28155-1-nayna@linux.ibm.com/) > on top of tpmdd master branch. > > The build is failing due to commit cfa7522f280a ("sysctl: set variable > key_sysctls storage-class-specifier to static"). A patch with the same > subject line is already in your tree. Refer to commit 0de030b30823 > ("sysctl: set variable key_sysctls storage-class-specifier to static"). > > Thanks & Regards, > > - Nayna Thanks for reporting, I rebased my tree and did: make ARCH=powerpc CROSS_COMPILE=powerpc64-linux-gnu- defconfig make ARCH=powerpc CROSS_COMPILE=powerpc64-linux-gnu- I get this now: security/integrity/ima/ima_crypto.c: In function ‘ima_pcrread’: security/integrity/ima/ima_crypto.c:785:13: error: too few arguments to function ‘tpm_pcr_read’ 785 | if (tpm_pcr_read(ima_tpm_chip, idx, d) != 0) | ^~~~~~~~~~~~ In file included from security/integrity/ima/ima.h:21, from security/integrity/ima/ima_crypto.c:23: ./include/linux/tpm.h:428:12: note: declared here 428 | extern int tpm_pcr_read(struct tpm_chip *chip, u32 pcr_idx, | ^~~~~~~~~~~~ BTW, in future, please also provide both arch and .config. I made my guesses because I had neither (not meaning to complain, just telling what would be useful, no worries). BR, Jarkko ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Build failure on tpmdd master branch 2023-08-10 19:02 ` Jarkko Sakkinen @ 2023-08-10 19:13 ` Jarkko Sakkinen 0 siblings, 0 replies; 4+ messages in thread From: Jarkko Sakkinen @ 2023-08-10 19:13 UTC (permalink / raw) To: Jarkko Sakkinen, Nayna; +Cc: linux-integrity@vger.kernel.org On Thu Aug 10, 2023 at 10:02 PM EEST, Jarkko Sakkinen wrote: > On Tue Aug 8, 2023 at 4:40 PM EEST, Nayna wrote: > > Hi Jarkko, > > > > I rebased the "Enable loading local and third party keys on PowerVM > > guest"( > > https://lore.kernel.org/linux-integrity/20230714153435.28155-1-nayna@linux.ibm.com/) > > on top of tpmdd master branch. > > > > The build is failing due to commit cfa7522f280a ("sysctl: set variable > > key_sysctls storage-class-specifier to static"). A patch with the same > > subject line is already in your tree. Refer to commit 0de030b30823 > > ("sysctl: set variable key_sysctls storage-class-specifier to static"). > > > > Thanks & Regards, > > > > - Nayna > > Thanks for reporting, I rebased my tree and did: > > make ARCH=powerpc CROSS_COMPILE=powerpc64-linux-gnu- defconfig > make ARCH=powerpc CROSS_COMPILE=powerpc64-linux-gnu- > > I get this now: > > security/integrity/ima/ima_crypto.c: In function ‘ima_pcrread’: > security/integrity/ima/ima_crypto.c:785:13: error: too few arguments to function ‘tpm_pcr_read’ > 785 | if (tpm_pcr_read(ima_tpm_chip, idx, d) != 0) > | ^~~~~~~~~~~~ > In file included from security/integrity/ima/ima.h:21, > from security/integrity/ima/ima_crypto.c:23: > ./include/linux/tpm.h:428:12: note: declared here > 428 | extern int tpm_pcr_read(struct tpm_chip *chip, u32 pcr_idx, > | ^~~~~~~~~~~~ > > BTW, in future, please also provide both arch and .config. I made > my guesses because I had neither (not meaning to complain, just > telling what would be useful, no worries). I fixed the issue. The invalid and malformed commit is now dropped. BR, Jarkko ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-08-10 19:13 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2023-08-08 13:40 Build failure on tpmdd master branch Nayna 2023-08-10 15:34 ` Jarkko Sakkinen 2023-08-10 19:02 ` Jarkko Sakkinen 2023-08-10 19:13 ` Jarkko Sakkinen
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox