diff options
| author | Takashi Iwai <tiwai@suse.de> | 2026-04-02 10:08:03 +0300 |
|---|---|---|
| committer | Takashi Iwai <tiwai@suse.de> | 2026-04-02 10:08:03 +0300 |
| commit | b477ab8893c3e6b4be3074358db830687de7bfff (patch) | |
| tree | 44d132561eb33087ec533affa648ac0cfaffe326 /lib | |
| parent | a0dafdbd1049a8ea661a1a471be1b840bd8aed13 (diff) | |
| parent | e74c38ef6f170179c0029b5744d6a14dfd543108 (diff) | |
| download | linux-b477ab8893c3e6b4be3074358db830687de7bfff.tar.xz | |
Merge tag 'asoc-fix-v7.0-rc6' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-linus
ASoC: Fixes for v7.0
Another smallish batch of fixes and quirks, these days it's AMD that is
getting all the DMI entries added. We've got one core fix for a missing
list initialisation with auxiliary devices, otherwise it's all fairly
small things.
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/bug.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/bug.c b/lib/bug.c index 623c467a8b76..aab9e6a40c5f 100644 --- a/lib/bug.c +++ b/lib/bug.c @@ -173,10 +173,8 @@ struct bug_entry *find_bug(unsigned long bugaddr) return module_find_bug(bugaddr); } -__diag_push(); -__diag_ignore(GCC, all, "-Wsuggest-attribute=format", - "Not a valid __printf() conversion candidate."); -static void __warn_printf(const char *fmt, struct pt_regs *regs) +static __printf(1, 0) +void __warn_printf(const char *fmt, struct pt_regs *regs) { if (!fmt) return; @@ -195,7 +193,6 @@ static void __warn_printf(const char *fmt, struct pt_regs *regs) printk("%s", fmt); } -__diag_pop(); static enum bug_trap_type __report_bug(struct bug_entry *bug, unsigned long bugaddr, struct pt_regs *regs) { |
