On Fri, 9 Aug 2024 09:27:51 -0600
"Gustavo A. R. Silva" wrote:
> -Wflex-array-member-not-at-end has been introduced in GCC-14, and we
> are getting ready to enable it, globally.
>
> So, in order to avoid ending up with a flexible-array member in the
> middle of multiple other structs, we use the
ndexing) and CONFIG_FORTIFY_SOURCE (for strcpy/memcpy-family
> functions).
>
> As found with Coccinelle[1], add __counted_by for struct disttable.
>
> Cc: Stephen Hemminger
> Cc: Jamal Hadi Salim
> Cc: Cong Wang
> Cc: Jiri Pirko
> Cc: "David S. Miller"
CONFIG_PAGE_SIZE_16KB=y, PAGE_SHIFT == 14, so:
>
> #define ETH_JUMBO_MTU 9000
>
> causes "ETH_JUMBO_MTU >> PAGE_SHIFT" to be 0. Use "?: 1" to solve this build
> warning.
>
> Cc: Mirko Lindner
> Cc: Stephen Hemminger
> Cc: "Dav
On Wed, 20 Sep 2023 09:09:33 -0700
Kees Cook wrote:
> On Tue, Sep 19, 2023 at 07:27:26PM +0800, kernel test robot wrote:
> > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
> > master
> > head: 2cf0f715623872823a72e451243bbf555d10d032
> > commit: df8fc4e934c12b906d08