Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1173167 > unrolled thread

Re: [PATCH 1/1] platform: x86: Deletion of checks before backlight_device_unregister()

Started byDarren Hart <dvhart@infradead.org>
First post2015-06-27 01:10 +0200
Last post2015-06-27 01:10 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH 1/1] platform: x86: Deletion of checks before  backlight_device_unregister() Darren Hart <dvhart@infradead.org> - 2015-06-27 01:10 +0200

#1173167 — Re: [PATCH 1/1] platform: x86: Deletion of checks before backlight_device_unregister()

FromDarren Hart <dvhart@infradead.org>
Date2015-06-27 01:10 +0200
SubjectRe: [PATCH 1/1] platform: x86: Deletion of checks before backlight_device_unregister()
Message-ID<pFKUV-4Dr-1@gated-at.bofh.it>
On Thu, Nov 27, 2014 at 07:13:10PM +0100, Julia Lawall wrote:
> 
> 
> On Mon, 24 Nov 2014, SF Markus Elfring wrote:
> 
> > >> This issue was detected by using the Coccinelle software.
> > >
> > > What script was used ?
> >
> > A semantic patch approach which I published on the mailing lists in March
> > is in action on my software development system for a while.
> >
> >
> > > Is it in scripts/coccinelle ?
> >
> > Not yet.
> >
> > I hope that the involved update suggestions got sufficient positive feedback
> > to integrate five scripts there.
> 
> The current scripts are very complicated, involving the interaction
> between multiple scripts and a database, and I think they are not very
> suitable for make coccicheck.  Also, the idea of removing the null checks
> is not appropriate in all contexts.  Perhaps it could be possible to add
> a script to the Linux kernel that handles a number of common cases for
> which removing the null test is widely considered to be desirable.
> 
> julia
> 

Julia, do you have any particular objection to this specific patch? I didn't see
a reason to prevent it going in.

-- 
Darren Hart
Intel Open Source Technology Center
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web