From: Vinod Koul <vkoul@kernel.org>
To: Lukas Wunner <lukas@wunner.de>
Cc: Eric Anholt <eric@anholt.net>,
Stefan Wahren <stefan.wahren@i2se.com>,
Frank Pavlic <f.pavlic@kunbus.de>,
Martin Sperl <kernel@martin.sperl.org>,
Florian Meier <florian.meier@koalo.de>,
dmaengine@vger.kernel.org, linux-rpi-kernel@lists.infradead.org
Subject: [5/5] dmaengine: bcm2835: Remove dead code
Date: Tue, 8 Jan 2019 22:39:28 +0530 [thread overview]
Message-ID: <20190108170928.GT13372@vkoul-mobl.Dlink> (raw)
On 08-01-19, 15:18, Lukas Wunner wrote:
> On Mon, Jan 07, 2019 at 01:58:33PM +0530, Vinod Koul wrote:
> > On 22-12-18, 08:28, Lukas Wunner wrote:
> > > The BCM2835 DMA driver deletes a channel from a list upon termination
> > > without having added it to a list first. Moreover that operation is
> > > protected by a spinlock which isn't taken anywhere else. These appear
> > > to be remnants of an older version of the driver which accidentally
> > > got mainlined. Remove the dead code.
> > >
> > > While at it remove an outdated comment claiming the driver only supports
> >
> > Ditto, whenever you use also, while at it... think if this is a
> > candidate for splitting up.
> >
> > A patch should do one thing only..
>
> If a set of changes could provoke a regression, separating each into
> an individual commit makes sense to ease bisecting.
>
> However separating trivial and obviously correct cleanups into individual
> commits actually makes bisecting *harder* because it increases the number
> of steps to find the offending commit. Thus, clustering related cleanups
> together makes sense.
I disagree, even if it is cleanup I would prefer a patch doing one
thing. While working down the line it helps to follow the changes
atomically rather than deal with a big pile!
> It is never a good idea to follow rules such as "a patch should do one
> thing only" slavishly.
Agreed on that, but I feel I have a decent reason for this request!
> Nevertheless, happy to oblige if that's what it takes to get the patches in.
next reply other threads:[~2019-01-08 17:09 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-08 17:09 Vinod Koul [this message]
-- strict thread matches above, loose matches on Subject: below --
2019-01-08 14:18 [5/5] dmaengine: bcm2835: Remove dead code Lukas Wunner
2019-01-07 8:28 Vinod Koul
2018-12-28 15:27 Stefan Wahren
2018-12-28 13:55 Lukas Wunner
2018-12-28 13:26 Stefan Wahren
2018-12-22 7:28 Lukas Wunner
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=20190108170928.GT13372@vkoul-mobl.Dlink \
--to=vkoul@kernel.org \
--cc=dmaengine@vger.kernel.org \
--cc=eric@anholt.net \
--cc=f.pavlic@kunbus.de \
--cc=florian.meier@koalo.de \
--cc=kernel@martin.sperl.org \
--cc=linux-rpi-kernel@lists.infradead.org \
--cc=lukas@wunner.de \
--cc=stefan.wahren@i2se.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox