All of lore.kernel.org
 help / color / mirror / Atom feed
From: Biju Das <biju.das.jz@bp.renesas.com>
To: Marc Kleine-Budde <mkl@pengutronix.de>
Cc: "Wolfgang Grandegger" <wg@grandegger.com>,
	"David S. Miller" <davem@davemloft.net>,
	"Eric Dumazet" <edumazet@google.com>,
	"Jakub Kicinski" <kuba@kernel.org>,
	"Paolo Abeni" <pabeni@redhat.com>,
	"Vincent Mailhol" <mailhol.vincent@wanadoo.fr>,
	"Stefan Mätje" <stefan.maetje@esd.eu>,
	"Ulrich Hecht" <uli+renesas@fpond.eu>,
	"Prabhakar Mahadev Lad" <prabhakar.mahadev-lad.rj@bp.renesas.com>,
	"Christophe JAILLET" <christophe.jaillet@wanadoo.fr>,
	"linux-can@vger.kernel.org" <linux-can@vger.kernel.org>,
	"netdev@vger.kernel.org" <netdev@vger.kernel.org>,
	"Geert Uytterhoeven" <geert+renesas@glider.be>,
	"Chris Paterson" <Chris.Paterson2@renesas.com>,
	"Biju Das" <biju.das@bp.renesas.com>,
	"linux-renesas-soc@vger.kernel.org"
	<linux-renesas-soc@vger.kernel.org>
Subject: RE: [PATCH v2 2/6] can: rcar_canfd: Add max_channels to struct rcar_canfd_hw_info
Date: Thu, 27 Oct 2022 07:41:54 +0000	[thread overview]
Message-ID: <OS0PR01MB5922B5238425B1C43C6CA6D886339@OS0PR01MB5922.jpnprd01.prod.outlook.com> (raw)
In-Reply-To: <20221027071259.ixueuw5xkptv22x5@pengutronix.de>

Hi Marc,

Thanks for the feedback.

> Subject: Re: [PATCH v2 2/6] can: rcar_canfd: Add max_channels to
> struct rcar_canfd_hw_info
> 
> On 26.10.2022 14:17:28, Biju Das 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@bp.renesas.com>
> > Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
> > ---
> > v1->v2:
> >  * Replaced data type of max_channels from u32->unsigned int.
> >  * Added Rb tag from Geert.
> > ---
> >  drivers/net/can/rcar/rcar_canfd.c | 30 +++++++++++++++-------------
> --
> >  1 file changed, 15 insertions(+), 15 deletions(-)
> >
> > diff --git a/drivers/net/can/rcar/rcar_canfd.c
> > b/drivers/net/can/rcar/rcar_canfd.c
> > index 5660bf0cd755..00e06cd26487 100644
> > --- 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;
> > +	unsigned int max_channels;
> 
> You can save some bytes of you make this an u8 and the postdiv in the
> next patch, too.

Ok, will change it to u8.

Cheers,
Biju

  reply	other threads:[~2022-10-27  7:42 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-26 13:17 [PATCH v2 0/6] R-Car CAN FD driver enhancements Biju Das
2022-10-26 13:17 ` [PATCH v2 1/6] can: rcar_canfd: rcar_canfd_probe: Add struct rcar_canfd_hw_info to driver data Biju Das
2022-10-26 13:17 ` [PATCH v2 2/6] can: rcar_canfd: Add max_channels to struct rcar_canfd_hw_info Biju Das
2022-10-27  7:12   ` Marc Kleine-Budde
2022-10-27  7:41     ` Biju Das [this message]
2022-10-26 13:17 ` [PATCH v2 3/6] can: rcar_canfd: Add shared_global_irqs " Biju Das
2022-10-26 13:17 ` [PATCH v2 4/6] can: rcar_canfd: Add postdiv " Biju Das
2022-10-26 13:17 ` [PATCH v2 5/6] can: rcar_canfd: Add multi_channel_irqs " Biju Das
2022-10-26 13:17 ` [PATCH v2 6/6] can: rcar_canfd: Add has_gerfl_eef " Biju Das

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=OS0PR01MB5922B5238425B1C43C6CA6D886339@OS0PR01MB5922.jpnprd01.prod.outlook.com \
    --to=biju.das.jz@bp.renesas.com \
    --cc=Chris.Paterson2@renesas.com \
    --cc=biju.das@bp.renesas.com \
    --cc=christophe.jaillet@wanadoo.fr \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=geert+renesas@glider.be \
    --cc=kuba@kernel.org \
    --cc=linux-can@vger.kernel.org \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=mailhol.vincent@wanadoo.fr \
    --cc=mkl@pengutronix.de \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=prabhakar.mahadev-lad.rj@bp.renesas.com \
    --cc=stefan.maetje@esd.eu \
    --cc=uli+renesas@fpond.eu \
    --cc=wg@grandegger.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.