Hello:
This series was applied to netdev/net-next.git (main)
by Jakub Kicinski :
On Fri, 15 Nov 2024 12:43:02 -0800 you wrote:
> Hi,
>
> This reverts the tagged struct group in struct ethtool_link_settings and
> instead just removes the flexible array member from Linux's view as it
> is entirely
Add str_locked_unlocked()/str_unlocked_locked() helper to return
"locked" or "unlocked" string literal.
Suggested-by: Przemek Kitszel
Signed-off-by: R Sundar
---
include/linux/string_choices.h | 6 ++
1 file changed, 6 insertions(+)
diff --git a/include/linux/string_choices.h b/include/lin
Rearrange misplaced functions in sorted order.
Suggested-by: Andy Shevchenko
Signed-off-by: R Sundar
---
include/linux/string_choices.h | 24
1 file changed, 12 insertions(+), 12 deletions(-)
diff --git a/include/linux/string_choices.h b/include/linux/string_choices.h
This patch series rearrange misplaced functions in sorted order and add
str_locked_unlocked() helper.
Signed-off-by: R Sundar
---
On Sun, Nov 17, 2024 at 12:45 PM Kees Cook wrote:
> Instead of risking alignment problems and causing (false positive) array
> bound warnings when casting a u32 to (64-bit) unsigned long, just use a
> native unsigned long for doing bit searches. Avoids warning with GCC 15's
> -Warray-bounds -fdia
On Sun, Nov 17, 2024 at 5:46 AM Kees Cook wrote:
>
> GCC notices that it is possible for OVL_E() to return NULL (which
> implies that d_inode(dentry) may be NULL).
I cannot follow this logic.
Yes, OVL_E() can be NULL, but
it does not imply that inode is NULL, so if you think that
code should to
-Wflex-array-member-not-at-end was 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 other structs, we use the `struct_group_tagged()` helper
to create a new tagged `struct posix_acl_hdr`. This struc
On Mon, Nov 18, 2024 at 09:09:28AM +0300, Dan Carpenter wrote:
> On 32bit systems, if you pass a long long to size_add()/mul() the top
> 32 bits are truncated away so the function doesn't work as expected.
> Add a test to prevent this.
>
> Signed-off-by: Dan Carpenter
> ---
Sorry, I thought I ha