[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20190831034748.GB23177@dell-inspiron>
Date: Sat, 31 Aug 2019 09:17:48 +0530
From: P Sai Prasanth <saip2823@...il.com>
To: Joe Perches <joe@...ches.com>
Cc: devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3] staging: rts5208: Fix checkpath warning
On 19-08-30 19:58:09, Joe Perches wrote:
> On Sat, 2019-08-31 at 07:55 +0530, P SAI PRASANTH wrote:
> > This patch fixes the following checkpath warning
> > in the file drivers/staging/rts5208/rtsx_transport.c:546
> >
> > WARNING: line over 80 characters
> > + option = RTSX_SG_VALID | RTSX_SG_END |
> > RTSX_SG_TRANS_DATA;
> []
> > diff --git a/drivers/staging/rts5208/rtsx_transport.c b/drivers/staging/rts5208/rtsx_transport.c
> []
> > @@ -540,11 +540,10 @@ static int rtsx_transfer_sglist_adma(struct rtsx_chip *chip, u8 card,
> >
> > dev_dbg(rtsx_dev(chip), "DMA addr: 0x%x, Len: 0x%x\n",
> > (unsigned int)addr, len);
> > -
> > +
>
> This same line delete then insert the same blank line
> is very unusual.
>
> What did you use to create this patch?
>
> > + option = RTSX_SG_VALID | RTSX_SG_TRANS_DATA;
> > if (j == (sg_cnt - 1))
> > - option = RTSX_SG_VALID | RTSX_SG_END | RTSX_SG_TRANS_DATA;
> > - else
> > - option = RTSX_SG_VALID | RTSX_SG_TRANS_DATA;
> > + option |= RTSX_SG_END;
> >
> > rtsx_add_sg_tbl(chip, (u32)addr, (u32)len, option);
> >
>
I have used vim for creating this patch. Upon checking, there is an extra tab on
the new blankline which has been added. I'm sending an update immediately.
Powered by blists - more mailing lists