checkpatch: improve the unnecessary OOM message test
authorJoe Perches <joe@perches.com>
Mon, 10 Jul 2017 22:52:04 +0000 (15:52 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 10 Jul 2017 23:32:35 +0000 (16:32 -0700)
commitfb0d0e088e194e7d966c9a1b3c58900664e5d7db
tree1007b3d84c9d16fb9895c12afbf780c4836950cd
parent166a0f780a8fdb67f232c85e9905ba84f7247da9
checkpatch: improve the unnecessary OOM message test

Use the context around a patch to avoid missing some candidates.

Link: http://lkml.kernel.org/r/865e874fbae5decc331a849bd8d71c325db6bc80.1496343345.git.joe@perches.com
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checkpatch.pl