Re: [PATCH] ksmbd: Replace one-element arrays with flexible-array members

2024-08-20 Thread Namjae Jeon
On Mon, Aug 19, 2024 at 1:22 AM Thorsten Blum wrote: > > Replace the deprecated one-element arrays with flexible-array members > in the structs copychunk_ioctl_req and smb2_ea_info_req. > > There are no binary differences after this conversion. > > Link: https://github.com/KSPP/linux/issues/79 > S

Re: [PATCH] ksmbd: Replace one-element arrays with flexible-array members

2024-08-20 Thread Tom Talpey
On 8/20/2024 10:11 AM, Namjae Jeon wrote: On Mon, Aug 19, 2024 at 1:22 AM Thorsten Blum wrote: Replace the deprecated one-element arrays with flexible-array members in the structs copychunk_ioctl_req and smb2_ea_info_req. There are no binary differences after this conversion. Link: https://g

Re: [PATCH v2] arm64: smp: smp_send_stop() and crash_smp_send_stop() should try non-NMI first

2024-08-20 Thread Will Deacon
On Mon, Aug 05, 2024 at 01:14:12PM -0700, Doug Anderson wrote: > On Mon, Aug 5, 2024 at 10:24 AM Will Deacon wrote: > > On Mon, Aug 05, 2024 at 10:13:11AM -0700, Doug Anderson wrote: > > > On Mon, Aug 5, 2024 at 9:53 AM Will Deacon wrote: > > > > On Tue, Jun 25, 2024 at 04:07:22PM -0700, Douglas

Re: [PATCH] ksmbd: Replace one-element arrays with flexible-array members

2024-08-20 Thread Thorsten Blum
On 20. Aug 2024, at 16:52, Tom Talpey wrote: > On 8/20/2024 10:11 AM, Namjae Jeon wrote: >> On Mon, Aug 19, 2024 at 1:22 AM Thorsten Blum >> wrote: >>> >>> Replace the deprecated one-element arrays with flexible-array members >>> in the structs copychunk_ioctl_req and smb2_ea_info_req. >>> >>>

Re: [PATCH] ksmbd: Replace one-element arrays with flexible-array members

2024-08-20 Thread Tom Talpey
On 8/20/2024 12:33 PM, Thorsten Blum wrote: On 20. Aug 2024, at 16:52, Tom Talpey wrote: On 8/20/2024 10:11 AM, Namjae Jeon wrote: On Mon, Aug 19, 2024 at 1:22 AM Thorsten Blum wrote: Replace the deprecated one-element arrays with flexible-array members in the structs copychunk_ioctl_req an

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

2024-08-20 Thread Simon Horman
On Mon, Aug 19, 2024 at 07:27:11PM -0600, Gustavo A. R. Silva 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 this fix > the following warnings: > > drivers/nfc/pn533/u

[PATCH v2] ksmbd: Replace one-element arrays with flexible-array members

2024-08-20 Thread Thorsten Blum
Replace the deprecated one-element arrays with flexible-array members in the structs copychunk_ioctl_req and smb2_ea_info_req. There are no binary differences after this conversion. Link: https://github.com/KSPP/linux/issues/79 Signed-off-by: Thorsten Blum --- Changes in v2: - Use <= instead of

Re: [PATCH v2 08/11] arm64: dts: qcom: Add SM7325 device tree

2024-08-20 Thread Danila Tikhonov
On 8/20/24 03:48, Konrad Dybcio wrote: On 8.08.2024 8:40 PM, Danila Tikhonov wrote: From: Eugene Lepshy The Snapdragon 778G (SM7325) / 778G+ (SM7325-AE) / 782G (SM7325-AF) is software-wise very similar to the Snapdragon 7c+ Gen 3 (SC7280). It uses the Kryo670. Signed-off-by: Eugene Lepshy S

Re: [RESEND PATCH v4] ext4: Annotate struct ext4_xattr_inode_array with __counted_by()

2024-08-20 Thread Thorsten Blum
On 13. Aug 2024, at 09:07, Thorsten Blum wrote: > > Add the __counted_by compiler attribute to the flexible array member > inodes to improve access bounds-checking via CONFIG_UBSAN_BOUNDS and > CONFIG_FORTIFY_SOURCE. > > Remove the now obsolete comment on the count field. > > In ext4_expand_ino

[PATCH][next] xen/pci: Avoid -Wflex-array-member-not-at-end warning

2024-08-20 Thread Gustavo A. R. Silva
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 refactor the rest of the code, accordingly. So, with this, fix the following warning: drivers/xen/pci.c:48:55: warning: structure contain