Re: [PATCH] mm: highmem remove 3 errors

From: Max Filippov
Date: Thu Oct 02 2014 - 12:14:06 EST


On Thu, Oct 2, 2014 at 7:54 PM, Max Filippov <jcmvbkbc@xxxxxxxxx> wrote:
> On Thu, Oct 2, 2014 at 7:44 PM, Paul McQuade <paulmcquad@xxxxxxxxx> wrote:
>> - return (void*) vaddr;
>> + return (void *) vaddr;
>
> checkpatch suggests that
> CHECK: No space is necessary after a cast

Sorry, wasn't clear enough. 'After a cast' means between ')' and 'vaddr' in the
above case. Space insertion between 'void' and '*' is correct.

--
Thanks.
-- Max
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/