RE: [PATCH v2 2/8] memory: renesas-rpc-if: Move rpc-if reg definitions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Geert,

> -----Original Message-----
> From: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
> Sent: 07 March 2025 08:37
> Subject: Re: [PATCH v2 2/8] memory: renesas-rpc-if: Move rpc-if reg definitions
> 
> Hi Biju,
> 
> On Thu, 6 Mar 2025 at 18:09, Biju Das <biju.das.jz@xxxxxxxxxxxxxx> wrote:
> > Move rpc-if reg definitions to a header file for the preparation of
> > adding support for RZ/G3E XSPI that has different register definitions.
> >
> > Signed-off-by: Biju Das <biju.das.jz@xxxxxxxxxxxxxx>
> 
> Thanks for your patch!
> 
> > --- /dev/null
> > +++ b/drivers/memory/renesas-rpc-if-regs.h
> 
> > +#define RPCIF_DRENR_CDB(o)     (u32)((((o) & 0x3) << 30))
> 
> scripts/checkpatch.pl says:
> ERROR: Macros with complex values should be enclosed in parentheses
> 
> And indeed, you misplaced the cast, outside the (double) parentheses.

Agreed. Will fix this before moving it to here as a separate patch.

Cheers,
Biju




[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux