drivers/char/msm_smd_pkt.c: don't use IS_ERR()
authorThomas Meyer <[email protected]>
Thu, 25 Aug 2011 22:59:09 +0000 (15:59 -0700)
committerLinus Torvalds <[email protected]>
Thu, 25 Aug 2011 23:25:33 +0000 (16:25 -0700)
commit7e8aa048989bf7e0604996a3e2068fb1a81f81bd
tree58defa5a56ffa54b2a95fc857be487d318bf4dd3
parent30ecad51849ae132dc6ef6ddb62d499c7257515b
drivers/char/msm_smd_pkt.c: don't use IS_ERR()

The various basic memory allocation function return NULL, not an
ERR_PTR.

The semantic patch that makes this change is available in
scripts/coccinelle/null/eno.cocci.

More information about semantic patching is available at
http://coccinelle.lip6.fr/

Signed-off-by: Thomas Meyer <[email protected]>
Cc: Niranjana Vishwanathapura <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
drivers/char/msm_smd_pkt.c