[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20121201200611.GA9527@neptun>
Date: Sat, 1 Dec 2012 21:06:11 +0100
From: Lino Sanfilippo <LinoSanfilippo@....de>
To: David Miller <davem@...emloft.net>
Cc: LinoSanfilippo@....de, shemminger@...tta.com, mlindner@...vell.com,
netdev@...r.kernel.org
Subject: Re: sky2: Correct mistakenly switched read/write sequence
On Sat, Dec 01, 2012 at 12:27:01PM -0500, David Miller wrote:
>
> > In sky2_all_down() the order of the read()/write() access to B0_IMSK seems to
> > be mistakenly switched. The original intention was obviously to avoid PCI write
> > posting.
> > This patch fixes the order.
> >
> > Signed-off-by: Lino Sanfilippo <LinoSanfilippo@....de>
>
> I would say that no such intention exists at all.
>
> The read is there because a long time ago the result as used
> to compute an 'imask' variable.
>
> Please see commit:
>
> commit d72ff8fa7f8b344382963721f842256825c4660b
I see. Indeed I was not aware of the history that led to the recent code, so
thanks for pointing that out.
However, since Stephen thinks the patch is useful nevertheless:
@Stephen please feel free to adjust the commit message as you think would make
the most sense.
Regards,
Lino
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists