Re: [PATCH][next] geneve: Avoid -Wflex-array-member-not-at-end warning

2025-09-11 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski : On Tue, 9 Sep 2025 17:42:39 +0200 you wrote: > -Wflex-array-member-not-at-end was introduced in GCC-14, and we are > getting ready to enable it, globally. > > Move the conflicting declaration to the end of the corres

Re: [PATCH net-next] MAINTAINERS: Add in6.h to MAINTAINERS

2025-07-23 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net.git (main) by Jakub Kicinski : On Tue, 22 Jul 2025 09:56:49 -0700 you wrote: > My CC-adding automation returned nothing on a future patch to the > include/linux/in6.h file, and I went looking for why. Add the missed > in6.h to MAINTAINERS. > > Signed-o

Re: [PATCH net-next 0/6] eth: fbnic: Add firmware logging support

2025-07-08 Thread patchwork-bot+netdevbpf
Hello: This series was applied to netdev/net-next.git (main) by Jakub Kicinski : On Wed, 2 Jul 2025 12:12:06 -0700 you wrote: > Firmware running on fbnic generates device logs. These logs contain useful > information about the device which may or may not be related to the host. > Logs are stored

Re: [PATCH net-next v2 0/8] net: Convert dev_set_mac_address() to struct sockaddr_storage

2025-05-27 Thread patchwork-bot+netdevbpf
Hello: This series was applied to netdev/net-next.git (main) by Paolo Abeni : On Wed, 21 May 2025 13:46:08 -0700 you wrote: > v2: > - add conversion of dev_set_mac_address_user() (kuniyu) > - fix missed sockaddr/sockaddr_storage conversion (kuba) > v1: https://lore.kernel.org/all/20250520222

Re: [PATCH] ptp: ocp: Add const to bp->attr_group allocation type

2025-04-29 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski : On Fri, 25 Apr 2025 23:18:59 -0700 you wrote: > In preparation for making the kmalloc family of allocators type aware, > we need to make sure that the returned type from the allocation matches > the type of the variab

Re: [PATCH] nfp: xsk: Adjust allocation type for nn->dp.xsk_pools

2025-04-29 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski : On Fri, 25 Apr 2025 23:08:42 -0700 you wrote: > In preparation for making the kmalloc family of allocators type aware, > we need to make sure that the returned type from the allocation matches > the type of the variab

Re: [PATCH] pds_core: Allocate pdsc_viftype_defaults copy with ARRAY_SIZE()

2025-04-29 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski : On Fri, 25 Apr 2025 23:07:13 -0700 you wrote: > In preparation for making the kmalloc family of allocators type aware, > we need to make sure that the returned type from the allocation matches > the type of the variab

Re: [PATCH] net/mlx4_core: Adjust allocation type for buddy->bits

2025-04-29 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski : On Fri, 25 Apr 2025 23:07:58 -0700 you wrote: > In preparation for making the kmalloc family of allocators type aware, > we need to make sure that the returned type from the allocation matches > the type of the variab

Re: [PATCH] ipv4: fib: Fix fib_info_hash_alloc() allocation type

2025-04-29 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski : On Fri, 25 Apr 2025 23:05:30 -0700 you wrote: > In preparation for making the kmalloc family of allocators type aware, > we need to make sure that the returned type from the allocation matches > the type of the variab

Re: [PATCH] emulex/benet: Annotate flash_cookie as nonstring

2025-04-22 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski : On Wed, 16 Apr 2025 15:10:29 -0700 you wrote: > GCC 15's new -Wunterminated-string-initialization notices that the 32 > character "flash_cookie" (which is not used as a C-String) > needs to be marked as "nonstring": >

Re: [PATCH] net: ethtool: Adjust exactly ETH_GSTRING_LEN-long stats to use memcpy

2025-04-17 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski : On Tue, 15 Apr 2025 18:02:15 -0700 you wrote: > Many drivers populate the stats buffer using C-String based APIs (e.g. > ethtool_sprintf() and ethtool_puts()), usually when building up the > list of stats individually

Re: [PATCH] net/mlx5e: ethtool: Fix formatting of ptp_rq0_csum_complete_tail_slow

2025-04-17 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski : On Tue, 15 Apr 2025 19:01:14 -0700 you wrote: > The new GCC 15 warning -Wunterminated-string-initialization reports: > > In file included from drivers/net/ethernet/mellanox/mlx5/core/en.h:55, > from

Re: [PATCH v3] net: macb: Add __nonstring annotations for unterminated strings

2025-03-19 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (main) by Paolo Abeni : On Wed, 12 Mar 2025 13:07:01 -0700 you wrote: > When a character array without a terminating NUL character has a static > initializer, GCC 15's -Wunterminated-string-initialization will only > warn if the array lacks the

Re: [PATCH v3][next] net/mlx5e: Avoid a hundred -Wflex-array-member-not-at-end warnings

2025-02-27 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski : On Wed, 26 Feb 2025 13:47:32 +1030 you wrote: > -Wflex-array-member-not-at-end was introduced in GCC-14, and we are > getting ready to enable it, globally. > > So, in this particular case, we create a new `struct mlx

Re: [PATCH net-next] net/rds: Replace deprecated strncpy() with strscpy_pad()

2025-02-21 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski : On Wed, 19 Feb 2025 23:47:31 +0100 you wrote: > strncpy() is deprecated for NUL-terminated destination buffers. Use > strscpy_pad() instead and remove the manual NUL-termination. > > Compile-tested only. > > Link: h

Re: [PATCH net-next v4 0/2] Flexible array for ip tunnel options

2025-02-20 Thread patchwork-bot+netdevbpf
Hello: This series was applied to netdev/net-next.git (main) by Jakub Kicinski : On Wed, 19 Feb 2025 16:32:54 +0200 you wrote: > Remove the hidden assumption that options are allocated at the end of > the struct, and teach the compiler about them using a flexible array. > > First patch is conver

Re: [PATCH] net/mlx4_core: Avoid impossible mlx4_db_alloc() order value

2025-02-14 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski : On Mon, 10 Feb 2025 09:45:05 -0800 you wrote: > GCC can see that the value range for "order" is capped, but this leads > it to consider that it might be negative, leading to a false positive > warning (with GCC 15 wit

Re: [PATCH v2][next] cxgb4: Avoid a -Wflex-array-member-not-at-end warning

2025-02-05 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski : On Tue, 4 Feb 2025 13:24:31 +1030 you wrote: > -Wflex-array-member-not-at-end was introduced in GCC-14, and we are > getting ready to enable it, globally. > > Move the conflicting declaration to the end of the struct

Re: [PATCH v2][next] net: atlantic: Avoid -Wflex-array-member-not-at-end warnings

2025-02-04 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski : On Tue, 4 Feb 2025 12:40:49 +1030 you wrote: > -Wflex-array-member-not-at-end was introduced in GCC-14, and we are > getting ready to enable it, globally. > > Remove unused flexible-array member `buf` and, with this,

Re: [PATCH v2] hv_netvsc: Replace one-element array with flexible array member

2025-01-17 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski : On Thu, 16 Jan 2025 22:19:32 +0100 you wrote: > Replace the deprecated one-element array with a modern flexible array > member in the struct nvsp_1_message_send_receive_buffer_complete. > > Use struct_size_t(,,1) ins

Re: [PATCH 0/3] UAPI: ethtool: Avoid flex-array in struct ethtool_link_settings

2024-11-18 Thread patchwork-bot+netdevbpf
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

Re: [PATCH v2 0/2][next] UAPI: net/ethtool: Avoid thousands of -Wflex-array-member-not-at-end warnings

2024-11-03 Thread patchwork-bot+netdevbpf
Hello: This series was applied to netdev/net-next.git (main) by Jakub Kicinski : On Tue, 29 Oct 2024 15:55:02 -0600 you wrote: > Small patch series aimed at fixing thousands of -Wflex-array-member-not-at-end > warnings by creating a new tagged struct within a flexible structure. We then > use thi

Re: [PATCH v3 0/6] Add Nothing Phone (1) support

2024-10-28 Thread patchwork-bot+netdevbpf
Hello: This series was applied to netdev/net-next.git (main) by Jakub Kicinski : On Sun, 20 Oct 2024 23:56:08 +0300 you wrote: > This series of patches adds support for the Nothing Phone (1), identified > as nothing,spacewar. The Nothing Phone (1) is built on the Qualcomm > Snapdragon 778G+ (SM73

Re: [PATCH -next] net: dsa: felix: Annotate struct action_gate_entry with __counted_by

2024-09-05 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (main) by Paolo Abeni : On Wed, 4 Sep 2024 09:49:56 +0800 you wrote: > Add the __counted_by compiler attribute to the flexible array member > entries to improve access bounds-checking via CONFIG_UBSAN_BOUNDS and > CONFIG_FORTIFY_SOURCE. > > Si

Re: [PATCH][next] nfc: pn533: Avoid -Wflex-array-member-not-at-end warnings

2024-08-21 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski : On Mon, 19 Aug 2024 19:27:11 -0600 you wrote: > -Wflex-array-member-not-at-end was introduced in GCC-14, and we are > getting ready to enable it, globally. > > Remove unnecessary flex-array member `data[]`, and with

Re: [PATCH 0/2][next] UAPI: net/sched - cxgb4: Fix -Wflex-array-member-not-at-end warning

2024-08-14 Thread patchwork-bot+netdevbpf
Hello: This series was applied to netdev/net-next.git (main) by Jakub Kicinski : On Tue, 13 Aug 2024 16:13:58 -0600 you wrote: > Small patch series aimed at fixing a -Wflex-array-member-not-at-end > warning by creating a new tagged struct within a flexible structure. > We then use this new struct

Re: [PATCH][next] nfp: Use static_assert() to check struct sizes

2024-08-12 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski : On Thu, 8 Aug 2024 16:08:35 -0600 you wrote: > Commit d88cabfd9abc ("nfp: Avoid -Wflex-array-member-not-at-end > warnings") introduced tagged `struct nfp_dump_tl_hdr`. We want > to ensure that when new members need to

Re: [PATCH v2][next] sched: act_ct: avoid -Wflex-array-member-not-at-end warning

2024-08-12 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski : On Fri, 9 Aug 2024 09:22:12 -0600 you wrote: > -Wflex-array-member-not-at-end was introduced in GCC-14, and we are > getting ready to enable it, globally. > > Remove unnecessary flex-array member `pad[]` and refactor

Re: [PATCH][next] net/smc: Use static_assert() to check struct sizes

2024-08-12 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski : On Thu, 8 Aug 2024 16:07:54 -0600 you wrote: > Commit 9748dbc9f265 ("net/smc: Avoid -Wflex-array-member-not-at-end > warnings") introduced tagged `struct smc_clc_v2_extension_fixed` and > `struct smc_clc_smcd_v2_exten

Re: [PATCH][next] net/fungible: Avoid -Wflex-array-member-not-at-end warning

2024-08-07 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski : On Mon, 5 Aug 2024 09:30:26 -0600 you wrote: > Use the `DEFINE_RAW_FLEX()` helper for an on-stack definition of > a flexible structure where the size of the flexible-array member > is known at compile-time, and refact

Re: [PATCH v3] net: core: annotate socks of struct sock_reuseport with __counted_by

2024-08-02 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski : On Thu, 1 Aug 2024 17:23:11 +0300 you wrote: > According to '__reuseport_alloc()', annotate flexible array member > 'sock' of 'struct sock_reuseport' with '__counted_by()' and use > convenient 'struct_size()' to simp

Re: [PATCH v2] net/ipv4/tcp_cong: Replace strncpy() with strscpy()

2024-07-16 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski : On Sat, 13 Jul 2024 21:11:15 -0700 you wrote: > Replace the deprecated[1] uses of strncpy() in tcp_ca_get_name_by_key() > and tcp_get_default_congestion_control(). The callers use the results as > standard C strings (

Re: [PATCH net-next v3] netdevice: define and allocate &net_device _properly_

2024-07-11 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski : On Wed, 10 Jul 2024 04:30:28 -0700 you wrote: > From: Alexander Lobakin > > In fact, this structure contains a flexible array at the end, but > historically its size, alignment etc., is calculated manually. > There

Re: [PATCH net-next v4] net: mana: Allow variable size indirection table

2024-06-13 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (main) by Leon Romanovsky : On Mon, 10 Jun 2024 03:28:39 -0700 you wrote: > Allow variable size indirection table allocation in MANA instead > of using a constant value MANA_INDIRECT_TABLE_SIZE. > The size is now derived from the MANA_QUERY_VPO

Re: [PATCH] net: prestera: Add flex arrays to some structs

2024-05-13 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski : On Sun, 12 May 2024 18:10:27 +0200 you wrote: > The "struct prestera_msg_vtcam_rule_add_req" uses a dynamically sized > set of trailing elements. Specifically, it uses an array of structures > of type "prestera_msg_ac

Re: [PATCH net-next v2 0/2] gve: Minor cleanups

2024-05-10 Thread patchwork-bot+netdevbpf
Hello: This series was applied to netdev/net-next.git (main) by Jakub Kicinski : On Wed, 08 May 2024 09:32:18 +0100 you wrote: > Hi, > > This short patchset provides two minor cleanups for the gve driver. > > These were found by tooling as mentioned in each patch, > and otherwise by inspection.

Re: [PATCH] sctp: prefer struct_size over open coded arithmetic

2024-04-30 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (main) by Paolo Abeni : On Sat, 27 Apr 2024 19:23:36 +0200 you wrote: > This is an effort to get rid of all multiplications from allocation > functions in order to prevent integer overflows [1][2]. > > As the "ids" variable is a pointer to "st

Re: [PATCH v4] net: dsa: lan9303: use ethtool_puts() for lan9303_get_strings()

2024-04-26 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski : On Thu, 25 Apr 2024 01:19:13 + you wrote: > This pattern of strncpy with some pointer arithmetic setting fixed-sized > intervals with string literal data is a bit weird so let's use > ethtool_puts() as this has mo

Re: [PATCH v3 0/3] RDMA/mana_ib: Add flex array to struct mana_cfg_rx_steer_req_v2

2024-04-11 Thread patchwork-bot+netdevbpf
Hello: This series was applied to netdev/net-next.git (main) by Leon Romanovsky : On Sat, 6 Apr 2024 16:23:34 +0200 you wrote: > The "struct mana_cfg_rx_steer_req_v2" uses a dynamically sized set of > trailing elements. Specifically, it uses a "mana_handle_t" array. So, > use the preferred way i

Re: [PATCH] bpf: replace deprecated strncpy with strscpy

2024-04-03 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to bpf/bpf-next.git (master) by Daniel Borkmann : On Tue, 02 Apr 2024 23:52:50 + you wrote: > strncpy() is deprecated for use on NUL-terminated destination strings > [1] and as such we should prefer more robust and less ambiguous string > interfaces. > > bpf sym

Re: [PATCH v4][next] net/smc: Avoid -Wflex-array-member-not-at-end warnings

2024-04-03 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (main) by David S. Miller : On Thu, 28 Mar 2024 15:52:49 -0600 you wrote: > -Wflex-array-member-not-at-end is coming in GCC-14, and we are getting > ready to enable it globally. > > There are currently a couple of objects in `struct smc_clc_ms

Re: [PATCH][next] nfp: Avoid -Wflex-array-member-not-at-end warnings

2024-04-02 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski : On Thu, 28 Mar 2024 19:17:10 -0600 you wrote: > -Wflex-array-member-not-at-end is coming in GCC-14, and we are getting > ready to enable it globally. > > There is currently an object (`tl`), at the beginning of multi

Re: [PATCH net-next v2 0/3] compiler_types: add Endianness-dependent __counted_by_{le,be}

2024-03-28 Thread patchwork-bot+netdevbpf
Hello: This series was applied to netdev/net-next.git (main) by Jakub Kicinski : On Wed, 27 Mar 2024 15:22:38 +0100 you wrote: > Some structures contain flexible arrays at the end and the counter for > them, but the counter has explicit Endianness and thus __counted_by() > can't be used directly.

Re: [PATCH bpf-next v3 1/2] bpf: Take return from set_memory_ro() into account with bpf_prog_lock_ro()

2024-03-14 Thread patchwork-bot+netdevbpf
Hello: This series was applied to bpf/bpf-next.git (master) by Alexei Starovoitov : On Fri, 8 Mar 2024 06:38:07 +0100 you wrote: > set_memory_ro() can fail, leaving memory unprotected. > > Check its return and take it into account as an error. > > Link: https://github.com/KSPP/linux/issues/7 >

Re: [PATCH v3] sock: Use unsafe_memcpy() for sock_copy()

2024-03-05 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski : On Mon, 4 Mar 2024 13:29:31 -0800 you wrote: > While testing for places where zero-sized destinations were still showing > up in the kernel, sock_copy() and inet_reqsk_clone() were found, which > are using very speci

Re: [PATCH] net: wwan: t7xx: Prefer struct_size over open coded arithmetic

2024-02-27 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski : On Sat, 24 Feb 2024 19:19:32 +0100 you wrote: > This is an effort to get rid of all multiplications from allocation > functions in order to prevent integer overflows [1][2]. > > As the "port_prox" variable is a point

Re: [PATCH] net: sched: Annotate struct tc_pedit with __counted_by

2024-02-19 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (main) by David S. Miller : On Fri, 16 Feb 2024 15:27:44 -0800 you wrote: > Prepare for the coming implementation by GCC and Clang of the __counted_by > attribute. Flexible array members annotated with __counted_by can have > their accesses bou

Re: [PATCH] enic: Avoid false positive under FORTIFY_SOURCE

2024-02-19 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net.git (main) by David S. Miller : On Fri, 16 Feb 2024 15:30:05 -0800 you wrote: > FORTIFY_SOURCE has been ignoring 0-sized destinations while the kernel > code base has been converted to flexible arrays. In order to enforce > the 0-sized destinations (e.g

Re: [PATCH] net/sun3_82586: Avoid reading past buffer in debug output

2024-02-08 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski : On Tue, 6 Feb 2024 08:16:54 -0800 you wrote: > Since NUM_XMIT_BUFFS is always 1, building m68k with sun3_defconfig and > -Warraybounds, this build warning is visible[1]: > > drivers/net/ethernet/i825xx/sun3_82586.c:

Re: [PATCH] bnx2x: Fix firmware version string character counts

2024-01-26 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski : On Thu, 25 Jan 2024 20:10:48 -0800 you wrote: > A potential string truncation was reported in bnx2x_fill_fw_str(), > when a long bp->fw_ver and a long phy_fw_ver might coexist, but seems > unlikely with real-world har

Re: [PATCH] amd-xgbe: Avoid potential string truncation in name

2023-12-13 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski : On Tue, 12 Dec 2023 14:13:12 -0800 you wrote: > Build with W=1 were warning about a potential string truncation: > > drivers/net/ethernet/amd/xgbe/xgbe-drv.c: In function 'xgbe_alloc_channels': > drivers/net/ethernet

Re: [PATCH] cxgb3: Avoid potential string truncation in desc

2023-12-13 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski : On Tue, 12 Dec 2023 14:09:57 -0800 you wrote: > Builds with W=1 were warning about potential string truncations: > > drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c: In function 'cxgb_up': > drivers/net/ethernet/chel

Re: [PATCH v3] net: mdio-gpio: replace deprecated strncpy with strscpy

2023-12-12 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski : On Mon, 11 Dec 2023 19:10:00 + you wrote: > strncpy() is deprecated for use on NUL-terminated destination strings > [1] and as such we should prefer more robust and less ambiguous string > interfaces. > > We expe

Re: [PATCH v2] net: mdio_bus: replace deprecated strncpy with strscpy

2023-12-10 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (main) by David S. Miller : On Thu, 07 Dec 2023 21:57:50 + you wrote: > strncpy() is deprecated for use on NUL-terminated destination strings > [1] and as such we should prefer more robust and less ambiguous string > interfaces. > > We exp

Re: [PATCH v2] qlcnic: replace deprecated strncpy with strscpy

2023-12-10 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (main) by David S. Miller : On Thu, 07 Dec 2023 21:42:22 + you wrote: > strncpy() is deprecated for use on NUL-terminated destination strings > [1] and as such we should prefer more robust and less ambiguous string > interfaces. > > We exp

Re: [PATCH v2] net: ena: replace deprecated strncpy with strscpy

2023-12-10 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (main) by David S. Miller : On Thu, 07 Dec 2023 21:34:42 + you wrote: > `strncpy` is deprecated for use on NUL-terminated destination strings > [1] and as such we should prefer more robust and less ambiguous string > interfaces. > > A suit

Re: [PATCH v3] netlink: Return unsigned value for nla_len()

2023-12-08 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski : On Wed, 6 Dec 2023 12:59:07 -0800 you wrote: > The return value from nla_len() is never expected to be negative, and can > never be more than struct nlattr::nla_len (a u16). Adjust the prototype > on the function. Th

Re: [PATCH] neighbour: Fix __randomize_layout crash in struct neighbour

2023-11-28 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net.git (main) by Paolo Abeni : On Sat, 25 Nov 2023 15:33:58 -0600 you wrote: > Previously, one-element and zero-length arrays were treated as true > flexible arrays, even though they are actually "fake" flex arrays. > The __randomize_layout would leave the

Re: [PATCH] MAINTAINERS: Add netdev subsystem profile link

2023-11-16 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net.git (main) by David S. Miller : On Thu, 16 Nov 2023 12:11:51 -0800 you wrote: > The netdev subsystem has had a subsystem process document for a while > now. Link it appropriately in MAINTAINERS with the P: tag. > > Cc: Jakub Kicinski > Cc: "David S. M

Re: [PATCH] s390/qeth: replace deprecated strncpy with strscpy

2023-10-24 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski : On Mon, 23 Oct 2023 19:39:39 + you wrote: > strncpy() is deprecated for use on NUL-terminated destination strings > [1] and as such we should prefer more robust and less ambiguous string > interfaces. > > We expe

Re: [PATCH] s390/ctcm: replace deprecated strncpy with strscpy

2023-10-24 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski : On Mon, 23 Oct 2023 19:35:07 + you wrote: > strncpy() is deprecated for use on NUL-terminated destination strings > [1] and as such we should prefer more robust and less ambiguous string > interfaces. > > We expe

Re: [PATCH net] net: ieee802154: adf7242: Fix some potential buffer overflow in adf7242_stats_show()

2023-10-22 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net.git (main) by David S. Miller : On Sat, 21 Oct 2023 20:03:53 +0200 you wrote: > strncat() usage in adf7242_debugfs_init() is wrong. > The size given to strncat() is the maximum number of bytes that can be > written, excluding the trailing NULL. > > Her

Re: [PATCH v2] net: wwan: replace deprecated strncpy with strscpy

2023-10-20 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski : On Thu, 19 Oct 2023 18:21:22 + you wrote: > strncpy() is deprecated for use on NUL-terminated destination strings > [1] and as such we should prefer more robust and less ambiguous string > interfaces. > > We expe

Re: [PATCH] lan78xx: replace deprecated strncpy with strscpy

2023-10-16 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski : On Thu, 12 Oct 2023 22:30:54 + you wrote: > strncpy() is deprecated for use on NUL-terminated destination strings > [1] and as such we should prefer more robust and less ambiguous string > interfaces. > > Other i

Re: [PATCH] net: usb: replace deprecated strncpy with strscpy

2023-10-16 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski : On Thu, 12 Oct 2023 22:33:34 + you wrote: > strncpy() is deprecated for use on NUL-terminated destination strings > [1] and as such we should prefer more robust and less ambiguous string > interfaces. > > Other i

Re: [PATCH] net: phy: smsc: replace deprecated strncpy with ethtool_sprintf

2023-10-16 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski : On Thu, 12 Oct 2023 22:27:52 + you wrote: > strncpy() is deprecated for use on NUL-terminated destination strings > [1] and as such we should prefer more robust and less ambiguous string > interfaces. > > ethtool

Re: [PATCH] net: netcp: replace deprecated strncpy with strscpy

2023-10-16 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski : On Thu, 12 Oct 2023 21:05:40 + you wrote: > strncpy() is deprecated for use on NUL-terminated destination strings > [1] and as such we should prefer more robust and less ambiguous string > interfaces. > > Conside

Re: [PATCH v2] qed: replace uses of strncpy

2023-10-13 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski : On Thu, 12 Oct 2023 18:35:41 + you wrote: > strncpy() is deprecated for use on NUL-terminated destination strings > [1] and as such we should prefer more robust and less ambiguous string > interfaces. > > This pa

Re: [PATCH] sfc: replace deprecated strncpy with strscpy

2023-10-13 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski : On Thu, 12 Oct 2023 20:38:19 + you wrote: > strncpy() is deprecated for use on NUL-terminated destination strings > [1] and as such we should prefer more robust and less ambiguous string > interfaces. > > `desc`

Re: [PATCH] net: phy: tja11xx: replace deprecated strncpy with ethtool_sprintf

2023-10-13 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski : On Thu, 12 Oct 2023 22:25:12 + you wrote: > strncpy() is deprecated for use on NUL-terminated destination strings > [1] and as such we should prefer more robust and less ambiguous string > interfaces. > > ethtool

Re: [PATCH] net/mlx4_core: replace deprecated strncpy with strscpy

2023-10-13 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski : On Wed, 11 Oct 2023 21:04:37 + you wrote: > `strncpy` is deprecated for use on NUL-terminated destination strings > [1] and as such we should prefer more robust and less ambiguous string > interfaces. > > We expe

Re: [PATCH] ionic: replace deprecated strncpy with strscpy

2023-10-13 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski : On Wed, 11 Oct 2023 21:53:44 + you wrote: > strncpy() is deprecated for use on NUL-terminated destination strings > [1] and as such we should prefer more robust and less ambiguous string > interfaces. > > NUL-pad

Re: [PATCH] net: sparx5: replace deprecated strncpy with ethtool_sprintf

2023-10-13 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski : On Wed, 11 Oct 2023 21:37:18 + you wrote: > strncpy() is deprecated for use on NUL-terminated destination strings > [1] and as such we should prefer more robust and less ambiguous string > interfaces. > > ethtool

Re: [PATCH] nfp: replace deprecated strncpy with strscpy

2023-10-13 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski : On Wed, 11 Oct 2023 21:48:39 + you wrote: > strncpy() is deprecated for use on NUL-terminated destination strings > [1] and as such we should prefer more robust and less ambiguous string > interfaces. > > We expe

Re: [PATCH v2] net: dsa: vsc73xx: replace deprecated strncpy with ethtool_sprintf

2023-10-13 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski : On Tue, 10 Oct 2023 22:32:35 + you wrote: > `strncpy` is deprecated for use on NUL-terminated destination strings > [1] and as such we should prefer more robust and less ambiguous string > interfaces. > > ethtool

Re: [PATCH] ibmvnic: replace deprecated strncpy with strscpy

2023-10-13 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (main) by David S. Miller : On Mon, 09 Oct 2023 23:19:57 + you wrote: > `strncpy` is deprecated for use on NUL-terminated destination strings > [1] and as such we should prefer more robust and less ambiguous string > interfaces. > > NUL-pa

Re: [PATCH][next] net: wwan: t7xx: Add __counted_by for struct t7xx_fsm_event and use struct_size()

2023-10-13 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (main) by David S. Miller : On Mon, 9 Oct 2023 15:46:18 -0600 you wrote: > Prepare for the coming implementation by GCC and Clang of the __counted_by > attribute. Flexible array members annotated with __counted_by can have > their accesses boun

Re: [PATCH] net: fec: replace deprecated strncpy with ethtool_sprintf

2023-10-13 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (main) by David S. Miller : On Mon, 09 Oct 2023 23:05:41 + you wrote: > `strncpy` is deprecated for use on NUL-terminated destination strings > [1] and as such we should prefer more robust and less ambiguous string > interfaces. > > ethtoo

Re: [PATCH v2] bna: replace deprecated strncpy with strscpy_pad

2023-10-11 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski : On Mon, 09 Oct 2023 17:45:33 + you wrote: > `strncpy` is deprecated for use on NUL-terminated destination strings > [1] and as such we should prefer more robust and less ambiguous string > interfaces. > > bfa_ioc

Re: [PATCH] net: dsa: lantiq_gswip: replace deprecated strncpy with ethtool_sprintf

2023-10-11 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski : On Mon, 09 Oct 2023 18:24:20 + you wrote: > `strncpy` is deprecated for use on NUL-terminated destination strings > [1] and as such we should prefer more robust and less ambiguous string > interfaces. > > ethtool

Re: [PATCH] net: mvpp2: replace deprecated strncpy with strscpy

2023-10-11 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski : On Tue, 10 Oct 2023 21:24:42 + you wrote: > `strncpy` is deprecated for use on NUL-terminated destination strings > [1] and as such we should prefer more robust and less ambiguous string > interfaces. > > We expe

Re: [PATCH] net: dsa: mt7530: replace deprecated strncpy with ethtool_sprintf

2023-10-11 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski : On Mon, 09 Oct 2023 18:29:19 + you wrote: > `strncpy` is deprecated for use on NUL-terminated destination strings > [1] and as such we should prefer more robust and less ambiguous string > interfaces. > > ethtool

Re: [PATCH] octeontx2-af: replace deprecated strncpy with strscpy

2023-10-11 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski : On Tue, 10 Oct 2023 21:38:11 + you wrote: > `strncpy` is deprecated for use on NUL-terminated destination strings > [1] and as such we should prefer more robust and less ambiguous string > interfaces. > > We can

Re: [PATCH] net: dsa: qca8k: replace deprecated strncpy with ethtool_sprintf

2023-10-10 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski : On Mon, 09 Oct 2023 18:34:45 + you wrote: > `strncpy` is deprecated for use on NUL-terminated destination strings > [1] and as such we should prefer more robust and less ambiguous string > interfaces. > > ethtool

Re: [PATCH] net: dsa: realtek: replace deprecated strncpy with ethtool_sprintf

2023-10-10 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski : On Mon, 09 Oct 2023 22:47:37 + you wrote: > `strncpy` is deprecated for use on NUL-terminated destination strings > [1] and as such we should prefer more robust and less ambiguous string > interfaces. > > ethtool

Re: [PATCH] net: dsa: realtek: rtl8365mb: replace deprecated strncpy with ethtool_sprintf

2023-10-10 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski : On Mon, 09 Oct 2023 22:43:59 + you wrote: > `strncpy` is deprecated for use on NUL-terminated destination strings > [1] and as such we should prefer more robust and less ambiguous string > interfaces. > > ethtool

Re: [PATCH] net: liquidio: replace deprecated strncpy with strscpy_pad

2023-10-09 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski : On Thu, 05 Oct 2023 21:41:01 + you wrote: > `strncpy` is deprecated for use on NUL-terminated destination strings > [1] and as such we should prefer more robust and less ambiguous string > interfaces. > > We know

Re: [PATCH] liquidio: replace deprecated strncpy with strscpy

2023-10-09 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski : On Thu, 05 Oct 2023 21:55:06 + you wrote: > `strncpy` is deprecated for use on NUL-terminated destination strings > [1] and as such we should prefer more robust and less ambiguous string > interfaces. > > NUL-pad

Re: [PATCH] liquidio: replace deprecated strncpy/strcpy with strscpy

2023-10-09 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski : On Thu, 05 Oct 2023 21:33:19 + you wrote: > `strncpy` is deprecated for use on NUL-terminated destination strings > [1] and as such we should prefer more robust and less ambiguous string > interfaces. > > NUL-pad

Re: [PATCH] bcm63xx_enet: replace deprecated strncpy with strscpy

2023-10-09 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski : On Thu, 05 Oct 2023 20:51:40 + you wrote: > strncpy() is deprecated for use on NUL-terminated destination strings > [1] and as such we should prefer more robust and less ambiguous string > interfaces. > > A suita

Re: [PATCH] cavium/liquidio: replace deprecated strncpy with strscpy

2023-10-09 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski : On Thu, 05 Oct 2023 22:52:34 + you wrote: > `strncpy` is deprecated for use on NUL-terminated destination strings > [1] and as such we should prefer more robust and less ambiguous string > interfaces. > > We expe

Re: [PATCH] net: atheros: replace deprecated strncpy with strscpy

2023-10-06 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski : On Thu, 05 Oct 2023 01:29:45 + you wrote: > `strncpy` is deprecated for use on NUL-terminated destination strings > [1] and as such we should prefer more robust and less ambiguous string > interfaces. > > We expe

Re: [PATCH] net: ax88796c: replace deprecated strncpy with strscpy

2023-10-06 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski : On Thu, 05 Oct 2023 01:06:26 + you wrote: > `strncpy` is deprecated for use on NUL-terminated destination strings > [1] and as such we should prefer more robust and less ambiguous string > interfaces. > > A suita

Re: [PATCH] bpf: Annotate struct bpf_stack_map with __counted_by

2023-10-06 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to bpf/bpf-next.git (master) by Daniel Borkmann : On Fri, 6 Oct 2023 13:17:00 -0700 you wrote: > Prepare for the coming implementation by GCC and Clang of the __counted_by > attribute. Flexible array members annotated with __counted_by can have > their accesses boun

Re: [PATCH v2] net: sched: cls_u32: Fix allocation size in u32_init()

2023-10-06 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net.git (main) by David S. Miller : On Wed, 4 Oct 2023 15:19:37 +0200 you wrote: > commit d61491a51f7e ("net/sched: cls_u32: Replace one-element array > with flexible-array member") incorrecly replaced an instance of > `sizeof(*tp_c)` with `struct_size(tp_c

Re: [PATCH] net/packet: Annotate struct packet_fanout with __counted_by

2023-10-06 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (main) by David S. Miller : On Tue, 3 Oct 2023 16:17:41 -0700 you wrote: > Prepare for the coming implementation by GCC and Clang of the __counted_by > attribute. Flexible array members annotated with __counted_by can have > their accesses bou

Re: [PATCH] flow_offload: Annotate struct flow_action_entry with __counted_by

2023-10-06 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (main) by David S. Miller : On Tue, 3 Oct 2023 16:18:33 -0700 you wrote: > Prepare for the coming implementation by GCC and Clang of the __counted_by > attribute. Flexible array members annotated with __counted_by can have > their accesses bou

Re: [PATCH] nexthop: Annotate struct nh_group with __counted_by

2023-10-06 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (main) by David S. Miller : On Tue, 3 Oct 2023 18:44:49 -0700 you wrote: > Prepare for the coming implementation by GCC and Clang of the __counted_by > attribute. Flexible array members annotated with __counted_by can have > their accesses bou

Re: [PATCH] netlink: Annotate struct netlink_policy_dump_state with __counted_by

2023-10-06 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (main) by David S. Miller : On Tue, 3 Oct 2023 16:21:02 -0700 you wrote: > Prepare for the coming implementation by GCC and Clang of the __counted_by > attribute. Flexible array members annotated with __counted_by can have > their accesses bou

Re: [PATCH] nexthop: Annotate struct nh_notifier_grp_info with __counted_by

2023-10-06 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (main) by David S. Miller : On Tue, 3 Oct 2023 16:21:47 -0700 you wrote: > Prepare for the coming implementation by GCC and Clang of the __counted_by > attribute. Flexible array members annotated with __counted_by can have > their accesses bou

  1   2   >