Re: [PATCH 4/4] scripts/checkpatch.pl: Add check for k.alloc GFP as first argument

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jesper Juhl
Date: Monday, November 1, 2010 - 2:57 pm

On Sun, 31 Oct 2010, Joe Perches wrote:


Just off the top of my head, but shouldn't this check for \s*_*GFP_ in 
order to catch things like __GFP_ZERO as well?
And what about functions like kmalloc_node()/vmalloc_node() which may also 
have this problem?


-- 
Jesper Juhl <jj@chaosbits.net>             http://www.chaosbits.net/
Plain text mails only, please      http://www.expita.com/nomime.html
Don't top-post  http://www.catb.org/~esr/jargon/html/T/top-post.html

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/4] Fix k.alloc switched arguments, Joe Perches, (Sun Oct 31, 3:33 pm)
Re: [PATCH 4/4] scripts/checkpatch.pl: Add check for k.all ..., Jesper Juhl, (Mon Nov 1, 2:57 pm)