Patch "selftests/bpf: Fix pkg-config call building sign-file" has been added to the 6.3-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    selftests/bpf: Fix pkg-config call building sign-file

to the 6.3-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     selftests-bpf-fix-pkg-config-call-building-sign-file.patch
and it can be found in the queue-6.3 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 7cbe1b7d780a677c8dbb77d7d8998b4f632118e7
Author: Jeremy Sowden <jeremy@xxxxxxxxxx>
Date:   Wed Apr 26 22:50:32 2023 +0100

    selftests/bpf: Fix pkg-config call building sign-file
    
    [ Upstream commit 5f5486b620cd43b16a1787ef92b9bc21bd72ef2e ]
    
    When building sign-file, the call to get the CFLAGS for libcrypto is
    missing white-space between `pkg-config` and `--cflags`:
    
      $(shell $(HOSTPKG_CONFIG)--cflags libcrypto 2> /dev/null)
    
    Removing the redirection of stderr, we see:
    
      $ make -C tools/testing/selftests/bpf sign-file
      make: Entering directory '[...]/tools/testing/selftests/bpf'
      make: pkg-config--cflags: No such file or directory
        SIGN-FILE sign-file
      make: Leaving directory '[...]/tools/testing/selftests/bpf'
    
    Add the missing space.
    
    Fixes: fc97590668ae ("selftests/bpf: Add test for bpf_verify_pkcs7_signature() kfunc")
    Signed-off-by: Jeremy Sowden <jeremy@xxxxxxxxxx>
    Signed-off-by: Daniel Borkmann <daniel@xxxxxxxxxxxxx>
    Reviewed-by: Roberto Sassu <roberto.sassu@xxxxxxxxxx>
    Link: https://lore.kernel.org/bpf/20230426215032.415792-1-jeremy@xxxxxxxxxx
    Signed-off-by: Alexei Starovoitov <ast@xxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/tools/testing/selftests/bpf/Makefile b/tools/testing/selftests/bpf/Makefile
index b677dcd0b77af..ad01c9e1ff12b 100644
--- a/tools/testing/selftests/bpf/Makefile
+++ b/tools/testing/selftests/bpf/Makefile
@@ -197,7 +197,7 @@ $(OUTPUT)/urandom_read: urandom_read.c urandom_read_aux.c $(OUTPUT)/liburandom_r
 
 $(OUTPUT)/sign-file: ../../../../scripts/sign-file.c
 	$(call msg,SIGN-FILE,,$@)
-	$(Q)$(CC) $(shell $(HOSTPKG_CONFIG)--cflags libcrypto 2> /dev/null) \
+	$(Q)$(CC) $(shell $(HOSTPKG_CONFIG) --cflags libcrypto 2> /dev/null) \
 		  $< -o $@ \
 		  $(shell $(HOSTPKG_CONFIG) --libs libcrypto 2> /dev/null || echo -lcrypto)
 



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux