-Wflex-array-member-not-at-end was introduced in GCC-14, and we are
getting ready to enable it, globally.
Use the `DEFINE_RAW_FLEX()` helper for on-stack definitions of
a flexible structure where the size of the flexible-array member
is known at compile-time, and refactor the rest of the code,
acc
On Fri, Mar 28, 2025 at 05:03:36PM -0700, Peter Collingbourne wrote:
> diff --git a/lib/string.c b/lib/string.c
> index eb4486ed40d25..b632c71df1a50 100644
> --- a/lib/string.c
> +++ b/lib/string.c
> @@ -119,6 +119,7 @@ ssize_t sized_strscpy(char *dest, const char *src, size_t
> count)
> if
From: Bhupesh
[ Upstream commit c8e008b60492cf6fd31ef127aea6d02fd3d314cd ]
Once inside 'ext4_xattr_inode_dec_ref_all' we should
ignore xattrs entries past the 'end' entry.
This fixes the following KASAN reported issue:
==
BUG: KAS
On Fri, Mar 21, 2025 at 03:09:20PM +0100, Rasmus Villemoes wrote:
> On Thu, Mar 20 2025, Andy Shevchenko
> wrote:
...
> I'm sorry, but this is broken in so many ways I don't know where to
> start.
You shouldn't be sorry, my guts feeling was on the same page, I was sending it
with the expectati
The Maxim MAX77759 is a companion PMIC for USB Type-C applications and
includes Battery Charger, Fuel Gauge, temperature sensors, USB Type-C
Port Controller (TCPC), NVMEM, and a GPIO expander.
This describes its GPIO module.
Reviewed-by: Rob Herring (Arm)
Acked-by: Bartosz Golaszewski
Signed-of
This whole series started from a simple fix (see the last patch)
to make GCC (Debian 14.2.0-17) happy when compiling with `make W=1`
(note, that CONFIG_WERROR=y and all warnings break the build!)
down to a rabbit hole.
However starting from v2 the last patch doesn't require the first
part, I prefe
In order to allow commonly included headers such as string.h to access
typedefs such as wchar_t without running into issues with the rest of
the NLS library, refactor the typedefs out into their own header that
can be included in a much safer manner.
Cc: sta...@vger.kernel.org
Reviewed-by: Andy Sh
From: Milena Olech
PTP capabilities are negotiated using virtchnl commands. There are two
available modes of the PTP support: direct and mailbox. When the direct
access to PTP resources is negotiated, virtchnl messages returns a set
of registers that allow read/write directly. When the mailbox ac
On 20/03/2025 17:46, Willie Thai wrote:
> +
> + leds {
> + compatible = "gpio-leds";
> + led-0 {
> + label = "uid_led";
> + gpios = <&sgpiom0 27 GPIO_ACTIVE_LOW>;
> + };
> + led-1 {
> + l
On Wed, Mar 19, 2025 at 06:38:38PM +, Marc Zyngier wrote:
> On Wed, 19 Mar 2025 11:51:21 +, Akihiko Odaki
> wrote:
> > What about setting the flag automatically when a user fails to pin
> > vCPUs to CPUs that are covered by one PMU? There would be no change if
> > a user correctly pins vC
On Tue, 18 Mar 2025 at 14:50, Ard Biesheuvel wrote:
>
> From: Ard Biesheuvel
>
> Since commit
>
> 97d6786e0669 ("arm64: mm: account for hotplug memory when randomizing the
> linear region")
>
> the decision whether or not to randomize the placement of the system's
> DRAM inside the linear map
On Sat, 15 Mar 2025, Alejandro Colomar wrote:
> > > GCC 15's -Wunterminated-string-initialization warned about truncated
> > > name strings. Instead of marking them with the "nonstring" attribute[1],
> > > increase their length to correctly include enough space for the
> > > terminating NUL charac
Hi Rob,
Thanks for your comment.
> My bot found new DTB warnings on the .dts files added or changed in this
> series.
>
> Some warnings may be from an existing SoC .dtsi. Or perhaps the warnings
> are fixed by another series. Ultimately, it is up to the platform
> maintainer whether these warnin
The Maxim MAX77759 is a companion PMIC for USB Type-C applications and
includes Battery Charger, Fuel Gauge, temperature sensors, USB Type-C
Port Controller (TCPC), NVMEM, and a GPIO expander.
This describes the top-level device.
Reviewed-by: Rob Herring (Arm)
Signed-off-by: André Draszik
---
v
On Wed, 02 Apr 2025 17:06:58 -0700, Peter Collingbourne wrote:
> This series fixes an issue where strscpy() would sometimes trigger
> a false positive KASAN report with MTE.
>
> v5:
> - add test for unreadable first byte of strscpy() source
>
> v4:
> - clarify commit message
> - improve comment
>
On Wed, Mar 26, 2025 at 8:39 PM Andy Shevchenko
wrote:
> On Wed, Mar 26, 2025 at 7:19 PM Nathan Chancellor wrote:
...
> > --- a/include/linux/string.h
> > +++ b/include/linux/string.h
> > @@ -7,6 +7,7 @@
> > #include /* for DEFINE_FREE() */
> > #include /* for inline */
> > #include
-Wflex-array-member-not-at-end was introduced in GCC-14, and we are
getting ready to enable it, globally.
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,
a
On Fri, 14 Mar 2025, André Draszik wrote:
> Hi Lee,
>
> Thanks for your review!
>
> On Fri, 2025-03-14 at 12:31 +, Lee Jones wrote:
> > On Wed, 12 Mar 2025, André Draszik wrote:
> >
> > > The Maxim MAX77759 is a companion PMIC for USB Type-C applications and
> > > includes Battery Charger,
-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 structure. Notice
that `struct ehci_hcd` is a flexible structure --a structure that
contains a flexible-array member.
Fix the following warn
19 matches
Mail list logo