Re: [PATCH 1/6] cgroup: Remove prohibited white spaces

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello, Jakub.

On Tue, Dec 15, 2015 at 01:20:40PM +0100, Jakub Kunert wrote:
> This patch fixes the checkpatch.pl error:
> 
> ERROR: space prohibited before open square bracket
> 
> Signed-off-by: Jakub Kunert <kuba.kunert@xxxxxxxxx>
...
>  /* generate an array of cgroup subsystem pointers */
> -#define SUBSYS(_x) [_x ## _cgrp_id] = &_x ## _cgrp_subsys,
> +#define SUBSYS(_x)[_x ## _cgrp_id] = &_x ## _cgrp_subsys,

Don't follow the checkpatch.pl output without thinking.  No space
before opening brackets rule clearly isn't for cases like above.

-- 
tejun
--
To unsubscribe from this list: send the line "unsubscribe cgroups" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]     [Monitors]

  Powered by Linux