diff options
author | Thomas Meyer <thomas@m3y3r.de> | 2011-08-25 15:59:09 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-08-25 16:25:33 -0700 |
commit | 7e8aa048989bf7e0604996a3e2068fb1a81f81bd (patch) | |
tree | 58defa5a56ffa54b2a95fc857be487d318bf4dd3 /mm | |
parent | 30ecad51849ae132dc6ef6ddb62d499c7257515b (diff) | |
download | op-kernel-dev-7e8aa048989bf7e0604996a3e2068fb1a81f81bd.zip op-kernel-dev-7e8aa048989bf7e0604996a3e2068fb1a81f81bd.tar.gz |
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 <thomas@m3y3r.de>
Cc: Niranjana Vishwanathapura <nvishwan@codeaurora.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions