lkml.org 
[lkml]   [2019]   [Dec]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2 11/23] staging: qlge: Fix CHECK: braces {} should be used on all arms of this statement
On Thu, Dec 12, 2019 at 09:02:00AM -0600, Scott Schafer wrote:
> On Thu, Dec 12, 2019 at 03:12:06PM +0300, Dan Carpenter wrote:
> > On Wed, Dec 11, 2019 at 12:12:40PM -0600, Scott Schafer wrote:
> > > @@ -351,8 +352,9 @@ static int ql_aen_lost(struct ql_adapter *qdev, struct mbox_params *mbcp)
> > > mbcp->out_count = 6;
> > >
> > > status = ql_get_mb_sts(qdev, mbcp);
> > > - if (status)
> > > + if (status) {
> > > netif_err(qdev, drv, qdev->ndev, "Lost AEN broken!\n");
> > > + }
> > > else {
> >
> > The close } should be on the same line as the else.
> >
> > > int i;
> > >
> >
> > regards,
> > dan carpenter
>
> this was fixed in patch 22

The truth is that I don't care at all about tiny typos like this, but
in the future then the right way to fix these is to create a separate
patch for this, and the use git rebase to fold it back into this patch.
It's a pretty straight forward process.

regards,
dan carpenter

\
 
 \ /
  Last update: 2019-12-12 17:33    [W:0.054 / U:0.136 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site