lkml.org 
[lkml]   [2026]   [May]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] talitos: allocate channels with main struct
On Thu, Apr 30, 2026 at 02:43:40PM -0700, Rosen Penev wrote:
>
> - priv = devm_kzalloc(dev, sizeof(struct talitos_private), GFP_KERNEL);
> + of_property_read_u32(np, "fsl,num-channels", &num_channels);

Sashiko suggests that you check the return value of this call:

https://sashiko.dev/#/patchset/20260430214340.59588-1-rosenp%40gmail.com

Thanks,
--
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

\
 
 \ /
  Last update: 2026-05-05 07:51    [W:0.045 / U:17.103 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog