On 3/13/25 20:30, Chiang Brian wrote:
The TPS53685 is a fully AMD SVI3 compliant step down
controller with trans-inductor voltage regulator
(TLVR) topology support, dual channels, built-in
non-volatile memory (NVM), PMBus interface, and
full compatible with TI NexFET smart power
stages.
Add suppo
Fix the following warning by removing unused flex-array member
`data` in `struct bcm_vk_peer_log`:
drivers/misc/bcm-vk/bcm_vk.h:415:32: warning: structure containing a flexible
array member is not at the end of another structure
[-Wflex-array-member-not-at-end]
Signed-off-by: Gustavo A. R. Silv
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, Fuel Gauge, temperature sensors, USB Type-C
> > Port Controll
Open coded arithmetic in allocator arguments is discouraged. Helper
functions like kcalloc or, in this case, devm_kcalloc are preferred.
Link:
https://www.kernel.org/doc/html/latest/process/deprecated.html#open-coded-arithmetic-in-allocator-arguments
Signed-off-by: Ethan Carter Edwards
---
sou
Open coded arithmetic in allocator arguments is discouraged. Helper
functions like kcalloc or, in this case, devm_kcalloc are preferred.
Link:
https://www.kernel.org/doc/html/latest/process/deprecated.html#open-coded-arithmetic-in-allocator-arguments
Signed-off-by: Ethan Carter Edwards
---
sou
Open coded arithmetic in allocator arguments is discouraged. Helper
functions like kcalloc or, in this case, devm_kcalloc are preferred.
Link:
https://www.kernel.org/doc/html/latest/process/deprecated.html#open-coded-arithmetic-in-allocator-arguments
Signed-off-by: Ethan Carter Edwards
---
sou
| 2 +-
sound/soc/intel/avs/pcm.c | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
---
base-commit: da920b7df701770e006928053672147075587fb2
change-id: 20250314-sound-avs-kcalloc-91cedbc47074
Best regards,
--
Ethan Carter Edwards
On Wed, 12 Mar 2025 13:05:36 -0700
Kees Cook 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 "nonstring" attribute[1]. There is no reason
> for the command lookup
On Wed, 12 Mar 2025, André Draszik wrote:
> 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.
>
> Fuel Gauge and TCPC have separate and independent I2
On Fri, Mar 14, 2025 at 11:14:54AM +1030, Gustavo A. R. Silva wrote:
> static int cros_ec_rtc_get(struct cros_ec_device *cros_ec, u32 command,
> u32 *response)
> {
> + DEFINE_RAW_FLEX(struct cros_ec_command, msg, data,
> + sizeof(struct ec_response
Hi Jeff,
On Thu, 13 Mar 2025 at 23:26, Jeff Xu wrote:
> On Wed, Mar 12, 2025 at 10:21 PM Lorenzo Stoakes
> wrote:
> > On Thu, Mar 13, 2025 at 12:06:23AM +, jef...@chromium.org wrote:
> > > From: Jeff Xu
> > > Add Documentation/features/core/mseal_sys_mappings/arch-support.txt
> > >
> > > Si
On Mon, Mar 10, 2025 at 11:23 PM Kees Cook 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 "nonstring" attribute[1]. Mark the arrays
> with __nonstring to and corr
On Fri, Mar 14, 2025 at 07:00:54PM +1030, Gustavo A. R. Silva 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 refactor the rest of the code,
> accordingly.
>
> So, with thes
Same here, how about:
((struct ec_response_rtc *)msg->data)->time = param;
Yeah, let's go with that then :)
https://lore.kernel.org/linux-hardening/Z9PpPg06OK8ghNvm@kspp/
Thanks!
--
Gustavo
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 these changes, fix the following warning:
drivers/rtc/rtc-cros-ec.c:62:40: warning:
On 3/8/25 23:11, Konrad Dybcio wrote:
> > +&hsusb_phy1 {
> > + vdd-supply = <&vreg_l7a>;
> > + vdda-pll-supply = <&vreg_l10a>;
> > + vdda-phy-dpdm-supply = <&vreg_l15a>;
>> + status = "okay";
> Please add a before 'status', file-wide
'a-status'?
[...]
> > +&tlmm {
> > + gpio-res
16 matches
Mail list logo