Skip to content

Commit

Permalink
Merge pull request #649 from nathanchance/update-patches-nov-2-2023
Browse files Browse the repository at this point in the history
Update mainline and stable patches (November 2, 2023)
  • Loading branch information
nathanchance committed Nov 3, 2023
2 parents 3afb394 + 5f5a524 commit 9700579
Show file tree
Hide file tree
Showing 23 changed files with 469 additions and 32 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/stable-clang-11.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: tuxsuite
run: tuxsuite plan --git-repo https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git --git-ref linux-6.6.y --job-name defconfigs --json-out builds.json tuxsuite/stable-clang-11.tux.yml || true
run: tuxsuite plan --git-repo https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git --git-ref linux-6.6.y --job-name defconfigs --json-out builds.json --patch-series patches/stable tuxsuite/stable-clang-11.tux.yml || true
- name: save builds.json
uses: actions/upload-artifact@v3
with:
Expand Down Expand Up @@ -675,7 +675,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: tuxsuite
run: tuxsuite plan --git-repo https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git --git-ref linux-6.6.y --job-name distribution_configs --json-out builds.json tuxsuite/stable-clang-11.tux.yml || true
run: tuxsuite plan --git-repo https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git --git-ref linux-6.6.y --job-name distribution_configs --json-out builds.json --patch-series patches/stable tuxsuite/stable-clang-11.tux.yml || true
- name: save builds.json
uses: actions/upload-artifact@v3
with:
Expand Down Expand Up @@ -1036,7 +1036,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: tuxsuite
run: tuxsuite plan --git-repo https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git --git-ref linux-6.6.y --job-name allconfigs --json-out builds.json tuxsuite/stable-clang-11.tux.yml || true
run: tuxsuite plan --git-repo https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git --git-ref linux-6.6.y --job-name allconfigs --json-out builds.json --patch-series patches/stable tuxsuite/stable-clang-11.tux.yml || true
- name: save builds.json
uses: actions/upload-artifact@v3
with:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/stable-clang-12.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: tuxsuite
run: tuxsuite plan --git-repo https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git --git-ref linux-6.6.y --job-name defconfigs --json-out builds.json tuxsuite/stable-clang-12.tux.yml || true
run: tuxsuite plan --git-repo https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git --git-ref linux-6.6.y --job-name defconfigs --json-out builds.json --patch-series patches/stable tuxsuite/stable-clang-12.tux.yml || true
- name: save builds.json
uses: actions/upload-artifact@v3
with:
Expand Down Expand Up @@ -699,7 +699,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: tuxsuite
run: tuxsuite plan --git-repo https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git --git-ref linux-6.6.y --job-name distribution_configs --json-out builds.json tuxsuite/stable-clang-12.tux.yml || true
run: tuxsuite plan --git-repo https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git --git-ref linux-6.6.y --job-name distribution_configs --json-out builds.json --patch-series patches/stable tuxsuite/stable-clang-12.tux.yml || true
- name: save builds.json
uses: actions/upload-artifact@v3
with:
Expand Down Expand Up @@ -1060,7 +1060,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: tuxsuite
run: tuxsuite plan --git-repo https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git --git-ref linux-6.6.y --job-name allconfigs --json-out builds.json tuxsuite/stable-clang-12.tux.yml || true
run: tuxsuite plan --git-repo https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git --git-ref linux-6.6.y --job-name allconfigs --json-out builds.json --patch-series patches/stable tuxsuite/stable-clang-12.tux.yml || true
- name: save builds.json
uses: actions/upload-artifact@v3
with:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/stable-clang-13.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: tuxsuite
run: tuxsuite plan --git-repo https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git --git-ref linux-6.6.y --job-name defconfigs --json-out builds.json tuxsuite/stable-clang-13.tux.yml || true
run: tuxsuite plan --git-repo https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git --git-ref linux-6.6.y --job-name defconfigs --json-out builds.json --patch-series patches/stable tuxsuite/stable-clang-13.tux.yml || true
- name: save builds.json
uses: actions/upload-artifact@v3
with:
Expand Down Expand Up @@ -699,7 +699,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: tuxsuite
run: tuxsuite plan --git-repo https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git --git-ref linux-6.6.y --job-name distribution_configs --json-out builds.json tuxsuite/stable-clang-13.tux.yml || true
run: tuxsuite plan --git-repo https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git --git-ref linux-6.6.y --job-name distribution_configs --json-out builds.json --patch-series patches/stable tuxsuite/stable-clang-13.tux.yml || true
- name: save builds.json
uses: actions/upload-artifact@v3
with:
Expand Down Expand Up @@ -1060,7 +1060,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: tuxsuite
run: tuxsuite plan --git-repo https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git --git-ref linux-6.6.y --job-name allconfigs --json-out builds.json tuxsuite/stable-clang-13.tux.yml || true
run: tuxsuite plan --git-repo https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git --git-ref linux-6.6.y --job-name allconfigs --json-out builds.json --patch-series patches/stable tuxsuite/stable-clang-13.tux.yml || true
- name: save builds.json
uses: actions/upload-artifact@v3
with:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/stable-clang-14.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: tuxsuite
run: tuxsuite plan --git-repo https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git --git-ref linux-6.6.y --job-name defconfigs --json-out builds.json tuxsuite/stable-clang-14.tux.yml || true
run: tuxsuite plan --git-repo https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git --git-ref linux-6.6.y --job-name defconfigs --json-out builds.json --patch-series patches/stable tuxsuite/stable-clang-14.tux.yml || true
- name: save builds.json
uses: actions/upload-artifact@v3
with:
Expand Down Expand Up @@ -699,7 +699,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: tuxsuite
run: tuxsuite plan --git-repo https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git --git-ref linux-6.6.y --job-name distribution_configs --json-out builds.json tuxsuite/stable-clang-14.tux.yml || true
run: tuxsuite plan --git-repo https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git --git-ref linux-6.6.y --job-name distribution_configs --json-out builds.json --patch-series patches/stable tuxsuite/stable-clang-14.tux.yml || true
- name: save builds.json
uses: actions/upload-artifact@v3
with:
Expand Down Expand Up @@ -1060,7 +1060,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: tuxsuite
run: tuxsuite plan --git-repo https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git --git-ref linux-6.6.y --job-name allconfigs --json-out builds.json tuxsuite/stable-clang-14.tux.yml || true
run: tuxsuite plan --git-repo https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git --git-ref linux-6.6.y --job-name allconfigs --json-out builds.json --patch-series patches/stable tuxsuite/stable-clang-14.tux.yml || true
- name: save builds.json
uses: actions/upload-artifact@v3
with:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/stable-clang-15.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: tuxsuite
run: tuxsuite plan --git-repo https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git --git-ref linux-6.6.y --job-name defconfigs --json-out builds.json tuxsuite/stable-clang-15.tux.yml || true
run: tuxsuite plan --git-repo https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git --git-ref linux-6.6.y --job-name defconfigs --json-out builds.json --patch-series patches/stable tuxsuite/stable-clang-15.tux.yml || true
- name: save builds.json
uses: actions/upload-artifact@v3
with:
Expand Down Expand Up @@ -771,7 +771,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: tuxsuite
run: tuxsuite plan --git-repo https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git --git-ref linux-6.6.y --job-name distribution_configs --json-out builds.json tuxsuite/stable-clang-15.tux.yml || true
run: tuxsuite plan --git-repo https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git --git-ref linux-6.6.y --job-name distribution_configs --json-out builds.json --patch-series patches/stable tuxsuite/stable-clang-15.tux.yml || true
- name: save builds.json
uses: actions/upload-artifact@v3
with:
Expand Down Expand Up @@ -1180,7 +1180,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: tuxsuite
run: tuxsuite plan --git-repo https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git --git-ref linux-6.6.y --job-name allconfigs --json-out builds.json tuxsuite/stable-clang-15.tux.yml || true
run: tuxsuite plan --git-repo https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git --git-ref linux-6.6.y --job-name allconfigs --json-out builds.json --patch-series patches/stable tuxsuite/stable-clang-15.tux.yml || true
- name: save builds.json
uses: actions/upload-artifact@v3
with:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/stable-clang-16.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: tuxsuite
run: tuxsuite plan --git-repo https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git --git-ref linux-6.6.y --job-name defconfigs --json-out builds.json tuxsuite/stable-clang-16.tux.yml || true
run: tuxsuite plan --git-repo https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git --git-ref linux-6.6.y --job-name defconfigs --json-out builds.json --patch-series patches/stable tuxsuite/stable-clang-16.tux.yml || true
- name: save builds.json
uses: actions/upload-artifact@v3
with:
Expand Down Expand Up @@ -891,7 +891,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: tuxsuite
run: tuxsuite plan --git-repo https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git --git-ref linux-6.6.y --job-name distribution_configs --json-out builds.json tuxsuite/stable-clang-16.tux.yml || true
run: tuxsuite plan --git-repo https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git --git-ref linux-6.6.y --job-name distribution_configs --json-out builds.json --patch-series patches/stable tuxsuite/stable-clang-16.tux.yml || true
- name: save builds.json
uses: actions/upload-artifact@v3
with:
Expand Down Expand Up @@ -1300,7 +1300,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: tuxsuite
run: tuxsuite plan --git-repo https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git --git-ref linux-6.6.y --job-name allconfigs --json-out builds.json tuxsuite/stable-clang-16.tux.yml || true
run: tuxsuite plan --git-repo https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git --git-ref linux-6.6.y --job-name allconfigs --json-out builds.json --patch-series patches/stable tuxsuite/stable-clang-16.tux.yml || true
- name: save builds.json
uses: actions/upload-artifact@v3
with:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/stable-clang-17.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: tuxsuite
run: tuxsuite plan --git-repo https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git --git-ref linux-6.6.y --job-name defconfigs --json-out builds.json tuxsuite/stable-clang-17.tux.yml || true
run: tuxsuite plan --git-repo https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git --git-ref linux-6.6.y --job-name defconfigs --json-out builds.json --patch-series patches/stable tuxsuite/stable-clang-17.tux.yml || true
- name: save builds.json
uses: actions/upload-artifact@v3
with:
Expand Down Expand Up @@ -939,7 +939,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: tuxsuite
run: tuxsuite plan --git-repo https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git --git-ref linux-6.6.y --job-name distribution_configs --json-out builds.json tuxsuite/stable-clang-17.tux.yml || true
run: tuxsuite plan --git-repo https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git --git-ref linux-6.6.y --job-name distribution_configs --json-out builds.json --patch-series patches/stable tuxsuite/stable-clang-17.tux.yml || true
- name: save builds.json
uses: actions/upload-artifact@v3
with:
Expand Down Expand Up @@ -1348,7 +1348,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: tuxsuite
run: tuxsuite plan --git-repo https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git --git-ref linux-6.6.y --job-name allconfigs --json-out builds.json tuxsuite/stable-clang-17.tux.yml || true
run: tuxsuite plan --git-repo https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git --git-ref linux-6.6.y --job-name allconfigs --json-out builds.json --patch-series patches/stable tuxsuite/stable-clang-17.tux.yml || true
- name: save builds.json
uses: actions/upload-artifact@v3
with:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/stable-clang-18.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: tuxsuite
run: tuxsuite plan --git-repo https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git --git-ref linux-6.6.y --job-name defconfigs --json-out builds.json tuxsuite/stable-clang-18.tux.yml || true
run: tuxsuite plan --git-repo https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git --git-ref linux-6.6.y --job-name defconfigs --json-out builds.json --patch-series patches/stable tuxsuite/stable-clang-18.tux.yml || true
- name: save builds.json
uses: actions/upload-artifact@v3
with:
Expand Down Expand Up @@ -939,7 +939,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: tuxsuite
run: tuxsuite plan --git-repo https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git --git-ref linux-6.6.y --job-name distribution_configs --json-out builds.json tuxsuite/stable-clang-18.tux.yml || true
run: tuxsuite plan --git-repo https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git --git-ref linux-6.6.y --job-name distribution_configs --json-out builds.json --patch-series patches/stable tuxsuite/stable-clang-18.tux.yml || true
- name: save builds.json
uses: actions/upload-artifact@v3
with:
Expand Down Expand Up @@ -1348,7 +1348,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: tuxsuite
run: tuxsuite plan --git-repo https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git --git-ref linux-6.6.y --job-name allconfigs --json-out builds.json tuxsuite/stable-clang-18.tux.yml || true
run: tuxsuite plan --git-repo https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git --git-ref linux-6.6.y --job-name allconfigs --json-out builds.json --patch-series patches/stable tuxsuite/stable-clang-18.tux.yml || true
- name: save builds.json
uses: actions/upload-artifact@v3
with:
Expand Down
46 changes: 46 additions & 0 deletions patches/mainline/1dc05a274a7b13fd61b6c43f0136153752e6f731.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
From 1dc05a274a7b13fd61b6c43f0136153752e6f731 Mon Sep 17 00:00:00 2001
From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Date: Wed, 20 Sep 2023 18:38:19 +0300
Subject: device property: Replace custom implementation of COUNT_ARGS()

Replace custom and non-portable implementation of COUNT_ARGS().

Fixes: e64b674bc9d7 ("software node: implement reference properties")
Reported-by: Nick Desaulniers <ndesaulniers@google.com>
Closes: https://lore.kernel.org/r/ZQoILN6QCjzosCOs@google.com
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Takashi Iwai <tiwai@suse.de>
Closes: https://github.com/ClangBuiltLinux/linux/issues/1935
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Link: https://lore.kernel.org/r/20230920153819.2069869-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
Link: https://git.kernel.org/gregkh/driver-core/c/1dc05a274a7b13fd61b6c43f0136153752e6f731
---
include/linux/property.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/include/linux/property.h b/include/linux/property.h
index 8c3c6685a2ae3..9f2585d705a86 100644
--- a/include/linux/property.h
+++ b/include/linux/property.h
@@ -10,6 +10,7 @@
#ifndef _LINUX_PROPERTY_H_
#define _LINUX_PROPERTY_H_

+#include <linux/args.h>
#include <linux/bits.h>
#include <linux/fwnode.h>
#include <linux/stddef.h>
@@ -288,7 +289,7 @@ struct software_node_ref_args {
#define SOFTWARE_NODE_REFERENCE(_ref_, ...) \
(const struct software_node_ref_args) { \
.node = _ref_, \
- .nargs = ARRAY_SIZE(((u64[]){ 0, ##__VA_ARGS__ })) - 1, \
+ .nargs = COUNT_ARGS(__VA_ARGS__), \
.args = { __VA_ARGS__ }, \
}

--
cgit

47 changes: 47 additions & 0 deletions patches/mainline/cba4590036855f4e3110d43c14385d2401080dbb.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
From cba4590036855f4e3110d43c14385d2401080dbb Mon Sep 17 00:00:00 2001
From: Nathan Chancellor <nathan@kernel.org>
Date: Fri, 27 Oct 2023 09:54:25 -0700
Subject: ASoC: codecs: aw88399: Fix -Wuninitialized in aw_dev_set_vcalb()

Clang warns (or errors with CONFIG_WERROR=y):

sound/soc/codecs/aw88399.c:441:18: error: variable 'vsense_select' is uninitialized when used here [-Werror,-Wuninitialized]
441 | vsense_select = vsense_select & (~AW88399_VDSEL_MASK);
| ^~~~~~~~~~~~~
sound/soc/codecs/aw88399.c:431:28: note: initialize the variable 'vsense_select' to silence this warning
431 | unsigned int vsense_select, vsense_value;
| ^
| = 0
1 error generated.

This clearly should have been using the value received from
regmap_read(). Use the correct variable to resolve the warning.

Closes: https://github.com/ClangBuiltLinux/linux/issues/1952
Fixes: 8ade6cc7e261 ("ASoC: codecs: Add aw88399 amplifier driver")
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Reviewed-by: Weidong Wang <wangweidong.a@awinic.com>
Link: https://lore.kernel.org/r/20231027-asoc-aw88399-fix-wuninitialized-v1-1-b1044493e4cd@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
---
Link: https://git.kernel.org/broonie/sound/c/cba4590036855f4e3110d43c14385d2401080dbb
---
sound/soc/codecs/aw88399.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/codecs/aw88399.c b/sound/soc/codecs/aw88399.c
index ce30bc7cdea9f..47fe38d0def5d 100644
--- a/sound/soc/codecs/aw88399.c
+++ b/sound/soc/codecs/aw88399.c
@@ -438,7 +438,7 @@ static int aw_dev_set_vcalb(struct aw88399 *aw88399)
if (ret)
return ret;

- vsense_select = vsense_select & (~AW88399_VDSEL_MASK);
+ vsense_select = vsense_value & (~AW88399_VDSEL_MASK);

ret = aw88399_dev_get_icalk(aw88399, &icalk);
if (ret) {
--
cgit

4 changes: 4 additions & 0 deletions patches/mainline/series
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
1dc05a274a7b13fd61b6c43f0136153752e6f731.patch
20231031_nathan_tcp_fix_wc23_extensions_in_tcp_options_write.patch
cba4590036855f4e3110d43c14385d2401080dbb.patch
v2_20231102_nathan_drm_amd_display_increase_frame_warning_limit_with_kasan_or_kcsan_in_dml2.patch
v2_20231102_nathan_loongarch_mark___percpu_functions_as_always_inline.patch
Loading

0 comments on commit 9700579

Please sign in to comment.