Patch "kselftest/alsa: Ensure _GNU_SOURCE is defined" has been added to the 6.9-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

    kselftest/alsa: Ensure _GNU_SOURCE is defined

to the 6.9-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:
     kselftest-alsa-ensure-_gnu_source-is-defined.patch
and it can be found in the queue-6.9 subdirectory.

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



commit 5a2051b78d3f06dca81bfd6338039949f284216d
Author: Mark Brown <broonie@xxxxxxxxxx>
Date:   Thu May 16 16:27:33 2024 +0100

    kselftest/alsa: Ensure _GNU_SOURCE is defined
    
    [ Upstream commit 2032e61e24fe9fe55d6c7a34fb5506c911b3e280 ]
    
    The pcmtest driver tests use the kselftest harness which requires that
    _GNU_SOURCE is defined but nothing causes it to be defined.  Since the
    KHDR_INCLUDES Makefile variable has had the required define added let's
    use that, this should provide some futureproofing.
    
    Fixes: daef47b89efd ("selftests: Compile kselftest headers with -D_GNU_SOURCE")
    Signed-off-by: Mark Brown <broonie@xxxxxxxxxx>
    Reviewed-by: Muhammad Usama Anjum <usama.anjum@xxxxxxxxxxxxx>
    Signed-off-by: Shuah Khan <skhan@xxxxxxxxxxxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/tools/testing/selftests/alsa/Makefile b/tools/testing/selftests/alsa/Makefile
index 5af9ba8a4645b..c1ce39874e2b5 100644
--- a/tools/testing/selftests/alsa/Makefile
+++ b/tools/testing/selftests/alsa/Makefile
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0
 #
 
-CFLAGS += $(shell pkg-config --cflags alsa)
+CFLAGS += $(shell pkg-config --cflags alsa) $(KHDR_INCLUDES)
 LDLIBS += $(shell pkg-config --libs alsa)
 ifeq ($(LDLIBS),)
 LDLIBS += -lasound




[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