* Re: Build regressions/improvements in v5.18-rc2 [not found] ` <20220411103528.2187797-1-geert@linux-m68k.org> @ 2022-04-11 10:42 ` Geert Uytterhoeven 2022-04-11 18:15 ` Kalle Valo 2022-04-11 23:35 ` Randy Dunlap 0 siblings, 2 replies; 5+ messages in thread From: Geert Uytterhoeven @ 2022-04-11 10:42 UTC (permalink / raw) To: linux-kernel Cc: Felix Fietkau, Lorenzo Bianconi, Ryder Lee, sparclinux, linux-wireless On Mon, 11 Apr 2022, Geert Uytterhoeven wrote: > JFYI, when comparing v5.18-rc2[1] to v5.18-rc1[3], the summaries are: > - build warnings: +23/-0 + /kisskb/src/arch/sparc/include/asm/cacheflush_32.h: error: 'struct page' declared inside parameter list [-Werror]: => 38:37 + /kisskb/src/arch/sparc/include/asm/cacheflush_32.h: error: its scope is only this definition or declaration, which is probably not what you want [-Werror]: => 38:37 sparc64/sparc-allmodconfig + /kisskb/src/arch/sparc/mm/srmmu.c: error: cast between incompatible function types from 'void (*)(long unsigned int)' to 'void (*)(long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int)' [-Werror=cast-function-type]: => 1639:13, 1756:13 + /kisskb/src/arch/sparc/mm/srmmu.c: error: cast between incompatible function types from 'void (*)(struct mm_struct *)' to 'void (*)(long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int)' [-Werror=cast-function-type]: => 1662:29, 1674:29 + /kisskb/src/arch/sparc/mm/srmmu.c: error: cast between incompatible function types from 'void (*)(struct mm_struct *, long unsigned int)' to 'void (*)(long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int)' [-Werror=cast-function-type]: => 1767:21 + /kisskb/src/arch/sparc/mm/srmmu.c: error: cast between incompatible function types from 'void (*)(struct vm_area_struct *, long unsigned int)' to 'void (*)(long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int)' [-Werror=cast-function-type]: => 1741:29, 1726:29 + /kisskb/src/arch/sparc/mm/srmmu.c: error: cast between incompatible function types from 'void (*)(struct vm_area_struct *, long unsigned int, long unsigned int)' to 'void (*)(long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int)' [-Werror=cast-function-type]: => 1711:29, 1694:29 sparc64-gcc11/sparc-allmodconfig + /kisskb/src/include/linux/compiler_types.h: error: call to '__compiletime_assert_491' declared with attribute error: FIELD_PREP: mask is not constant: => 352:38 + /kisskb/src/include/linux/compiler_types.h: error: call to '__compiletime_assert_520' declared with attribute error: FIELD_PREP: mask is not constant: => 352:38 mipsel/mips-allmodconfig arm64-gcc5.4/arm64-allmodconfig Actual error is: /kisskb/src/drivers/net/wireless/mediatek/mt76/mt76x2/pci.c: In function 'mt76x2e_probe': /kisskb/src/include/linux/compiler_types.h:352:38: error: call to '__compiletime_assert_520' declared with attribute error: FIELD_PREP: mask is not constant > [1] http://kisskb.ellerman.id.au/kisskb/branch/linus/head/ce522ba9ef7e2d9fb22a39eb3371c0c64e2a433e/ (all 96 configs) > [3] http://kisskb.ellerman.id.au/kisskb/branch/linus/head/3123109284176b1532874591f7c81f3837bbdc17/ (all 96 configs) Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Build regressions/improvements in v5.18-rc2 2022-04-11 10:42 ` Build regressions/improvements in v5.18-rc2 Geert Uytterhoeven @ 2022-04-11 18:15 ` Kalle Valo 2022-04-12 7:09 ` Geert Uytterhoeven 2022-04-11 23:35 ` Randy Dunlap 1 sibling, 1 reply; 5+ messages in thread From: Kalle Valo @ 2022-04-11 18:15 UTC (permalink / raw) To: Geert Uytterhoeven Cc: linux-kernel, Felix Fietkau, Lorenzo Bianconi, Ryder Lee, sparclinux, linux-wireless Geert Uytterhoeven <geert@linux-m68k.org> writes: > On Mon, 11 Apr 2022, Geert Uytterhoeven wrote: >> JFYI, when comparing v5.18-rc2[1] to v5.18-rc1[3], the summaries are: >> - build warnings: +23/-0 > > + /kisskb/src/arch/sparc/include/asm/cacheflush_32.h: error: 'struct page' declared inside parameter list [-Werror]: => 38:37 > + /kisskb/src/arch/sparc/include/asm/cacheflush_32.h: error: its scope is only this definition or declaration, which is probably not what you want [-Werror]: => 38:37 > > sparc64/sparc-allmodconfig > > + /kisskb/src/arch/sparc/mm/srmmu.c: error: cast between incompatible function types from 'void (*)(long unsigned int)' to 'void (*)(long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int)' [-Werror=cast-function-type]: => 1639:13, 1756:13 > + /kisskb/src/arch/sparc/mm/srmmu.c: error: cast between incompatible function types from 'void (*)(struct mm_struct *)' to 'void (*)(long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int)' [-Werror=cast-function-type]: => 1662:29, 1674:29 > + /kisskb/src/arch/sparc/mm/srmmu.c: error: cast between incompatible function types from 'void (*)(struct mm_struct *, long unsigned int)' to 'void (*)(long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int)' [-Werror=cast-function-type]: => 1767:21 > + /kisskb/src/arch/sparc/mm/srmmu.c: error: cast between incompatible function types from 'void (*)(struct vm_area_struct *, long unsigned int)' to 'void (*)(long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int)' [-Werror=cast-function-type]: => 1741:29, 1726:29 > + /kisskb/src/arch/sparc/mm/srmmu.c: error: cast between incompatible function types from 'void (*)(struct vm_area_struct *, long unsigned int, long unsigned int)' to 'void (*)(long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int)' [-Werror=cast-function-type]: => 1711:29, 1694:29 > > sparc64-gcc11/sparc-allmodconfig > > + /kisskb/src/include/linux/compiler_types.h: error: call to '__compiletime_assert_491' declared with attribute error: FIELD_PREP: mask is not constant: => 352:38 > + /kisskb/src/include/linux/compiler_types.h: error: call to '__compiletime_assert_520' declared with attribute error: FIELD_PREP: mask is not constant: => 352:38 > > mipsel/mips-allmodconfig > arm64-gcc5.4/arm64-allmodconfig > > Actual error is: > > /kisskb/src/drivers/net/wireless/mediatek/mt76/mt76x2/pci.c: In function 'mt76x2e_probe': > /kisskb/src/include/linux/compiler_types.h:352:38: error: call to '__compiletime_assert_520' declared with attribute error: FIELD_PREP: mask is not constant Does this commit fix it: https://git.kernel.org/pub/scm/linux/kernel/git/wireless/wireless.git/commit/?id=dbc2b1764734857d68425468ffa8486e97ab89df Or is this another issue? -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Build regressions/improvements in v5.18-rc2 2022-04-11 18:15 ` Kalle Valo @ 2022-04-12 7:09 ` Geert Uytterhoeven 2022-04-12 7:58 ` Kalle Valo 0 siblings, 1 reply; 5+ messages in thread From: Geert Uytterhoeven @ 2022-04-12 7:09 UTC (permalink / raw) To: Kalle Valo Cc: Linux Kernel Mailing List, Felix Fietkau, Lorenzo Bianconi, Ryder Lee, sparclinux, linux-wireless Hi Kalle, On Mon, Apr 11, 2022 at 8:15 PM Kalle Valo <kvalo@kernel.org> wrote: > Geert Uytterhoeven <geert@linux-m68k.org> writes: > > On Mon, 11 Apr 2022, Geert Uytterhoeven wrote: > >> JFYI, when comparing v5.18-rc2[1] to v5.18-rc1[3], the summaries are: > > + /kisskb/src/include/linux/compiler_types.h: error: call to '__compiletime_assert_491' declared with attribute error: FIELD_PREP: mask is not constant: => 352:38 > > + /kisskb/src/include/linux/compiler_types.h: error: call to '__compiletime_assert_520' declared with attribute error: FIELD_PREP: mask is not constant: => 352:38 > > > > mipsel/mips-allmodconfig > > arm64-gcc5.4/arm64-allmodconfig > > > > Actual error is: > > > > /kisskb/src/drivers/net/wireless/mediatek/mt76/mt76x2/pci.c: In function 'mt76x2e_probe': > > /kisskb/src/include/linux/compiler_types.h:352:38: error: call to '__compiletime_assert_520' declared with attribute error: FIELD_PREP: mask is not constant > > Does this commit fix it: > > https://git.kernel.org/pub/scm/linux/kernel/git/wireless/wireless.git/commit/?id=dbc2b1764734857d68425468ffa8486e97ab89df > > Or is this another issue? I'm not in a position to verify this, but given both configs used gcc-5, I assume this will fix the issue. Thanks! Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Build regressions/improvements in v5.18-rc2 2022-04-12 7:09 ` Geert Uytterhoeven @ 2022-04-12 7:58 ` Kalle Valo 0 siblings, 0 replies; 5+ messages in thread From: Kalle Valo @ 2022-04-12 7:58 UTC (permalink / raw) To: Geert Uytterhoeven Cc: Linux Kernel Mailing List, Felix Fietkau, Lorenzo Bianconi, Ryder Lee, sparclinux, linux-wireless Geert Uytterhoeven <geert@linux-m68k.org> writes: > Hi Kalle, > > On Mon, Apr 11, 2022 at 8:15 PM Kalle Valo <kvalo@kernel.org> wrote: >> Geert Uytterhoeven <geert@linux-m68k.org> writes: >> > On Mon, 11 Apr 2022, Geert Uytterhoeven wrote: >> >> JFYI, when comparing v5.18-rc2[1] to v5.18-rc1[3], the summaries are: > >> > + /kisskb/src/include/linux/compiler_types.h: error: call to '__compiletime_assert_491' declared with attribute error: FIELD_PREP: mask is not constant: => 352:38 >> > + /kisskb/src/include/linux/compiler_types.h: error: call to '__compiletime_assert_520' declared with attribute error: FIELD_PREP: mask is not constant: => 352:38 >> > >> > mipsel/mips-allmodconfig >> > arm64-gcc5.4/arm64-allmodconfig >> > >> > Actual error is: >> > >> > /kisskb/src/drivers/net/wireless/mediatek/mt76/mt76x2/pci.c: In function 'mt76x2e_probe': >> > /kisskb/src/include/linux/compiler_types.h:352:38: error: call to '__compiletime_assert_520' declared with attribute error: FIELD_PREP: mask is not constant >> >> Does this commit fix it: >> >> https://git.kernel.org/pub/scm/linux/kernel/git/wireless/wireless.git/commit/?id=dbc2b1764734857d68425468ffa8486e97ab89df >> >> Or is this another issue? > > I'm not in a position to verify this, but given both configs used gcc-5, > I assume this will fix the issue. Ok, do let me know if the commit doesn't fix the warning. -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Build regressions/improvements in v5.18-rc2 2022-04-11 10:42 ` Build regressions/improvements in v5.18-rc2 Geert Uytterhoeven 2022-04-11 18:15 ` Kalle Valo @ 2022-04-11 23:35 ` Randy Dunlap 1 sibling, 0 replies; 5+ messages in thread From: Randy Dunlap @ 2022-04-11 23:35 UTC (permalink / raw) To: Geert Uytterhoeven, linux-kernel Cc: Felix Fietkau, Lorenzo Bianconi, Ryder Lee, sparclinux, linux-wireless, David S. Miller On 4/11/22 03:42, Geert Uytterhoeven wrote: > On Mon, 11 Apr 2022, Geert Uytterhoeven wrote: >> JFYI, when comparing v5.18-rc2[1] to v5.18-rc1[3], the summaries are: >> - build warnings: +23/-0 > > + /kisskb/src/arch/sparc/include/asm/cacheflush_32.h: error: 'struct page' declared inside parameter list [-Werror]: => 38:37 > + /kisskb/src/arch/sparc/include/asm/cacheflush_32.h: error: its scope is only this definition or declaration, which is probably not what you want [-Werror]: => 38:37 Fix here: https://lore.kernel.org/lkml/20220409151609.3715-1-rdunlap@infradead.org/ -- ~Randy ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2022-04-12 9:54 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <CAHk-=wh0+DYC2+Aeu2=vfUtGaDqVuKxKrxyhwQFoG89rcynzww@mail.gmail.com> [not found] ` <20220411103528.2187797-1-geert@linux-m68k.org> 2022-04-11 10:42 ` Build regressions/improvements in v5.18-rc2 Geert Uytterhoeven 2022-04-11 18:15 ` Kalle Valo 2022-04-12 7:09 ` Geert Uytterhoeven 2022-04-12 7:58 ` Kalle Valo 2022-04-11 23:35 ` Randy Dunlap
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).