lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Mon, 24 Oct 2022 16:41:22 +0200 From: Geert Uytterhoeven <geert@...ux-m68k.org> To: biju.das.jz@...renesas.com Cc: Wolfgang Grandegger <wg@...ndegger.com>, Marc Kleine-Budde <mkl@...gutronix.de>, "David S. Miller" <davem@...emloft.net>, Eric Dumazet <edumazet@...gle.com>, Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>, Vincent Mailhol <mailhol.vincent@...adoo.fr>, Stefan Mätje <stefan.maetje@....eu>, Ulrich Hecht <uli+renesas@...nd.eu>, Lad Prabhakar <prabhakar.mahadev-lad.rj@...renesas.com>, Christophe JAILLET <christophe.jaillet@...adoo.fr>, linux-can@...r.kernel.org, netdev@...r.kernel.org, Geert Uytterhoeven <geert+renesas@...der.be>, Chris Paterson <Chris.Paterson2@...esas.com>, Biju Das <biju.das@...renesas.com>, linux-renesas-soc@...r.kernel.org Subject: Re: [PATCH 2/6] can: rcar_canfd: Add max_channels to struct rcar_canfd_hw_info On Sat, Oct 22, 2022 at 1:13 PM Biju Das <biju.das.jz@...renesas.com> wrote: > R-Car V3U supports a maximum of 8 channels whereas rest of the SoCs > support 2 channels. > > Add max_channels variable to struct rcar_canfd_hw_info to handle this > difference. > > Signed-off-by: Biju Das <biju.das.jz@...renesas.com> Reviewed-by: Geert Uytterhoeven <geert+renesas@...der.be> > --- a/drivers/net/can/rcar/rcar_canfd.c > +++ b/drivers/net/can/rcar/rcar_canfd.c > @@ -525,6 +525,7 @@ struct rcar_canfd_global; > > struct rcar_canfd_hw_info { > enum rcanfd_chip_id chip_id; > + u32 max_channels; Although I wouldn't mind "unsigned int" instead... > }; > > /* Channel priv data */ Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@...ux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds
Powered by blists - more mailing lists