Skip to content

Commit

Permalink
#Linux# Use an IS_ERR test rather than a NULL test
Browse files Browse the repository at this point in the history
  • Loading branch information
Coccinellery committed Aug 10, 2016
1 parent 6a456be commit 41ccb94
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions ubifs/category2a_kthread_create.cocci
@@ -1,3 +1,14 @@
//
// Use an IS_ERR test rather than a NULL test
//
// Target: Linux
// Copyright: 2012 - LIP6/INRIA
// License: Licensed under ISC. See LICENSE or http://www.isc.org/software/license
// Author: Julien Brunel <brunel@diku.dk>
// Author: Julia Lawall <Julia.Lawall@lip6.fr>
// URL: http://coccinelle.lip6.fr/
// URL: http://coccinellery.org/

// category 2 should only have an IS_ERR test

@match disable isnt_null exists@
Expand Down

0 comments on commit 41ccb94

Please sign in to comment.