[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20150314083231.GA4120@sudip-PC>
Date:	Sat, 14 Mar 2015 14:02:31 +0530
From:	Sudip Mukherjee <sudipm.mukherjee@...il.com>
To:	Isaac Lleida <illeida@...naliasbox.org>
Cc:	willy@...a-x.org, gregkh@...uxfoundation.org,
	devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org,
	kernel-janitors@...r.kernel.org
Subject: Re: [PATCH v2] staging: panel: change struct bits to a bit array
On Sat, Mar 14, 2015 at 12:20:36AM +0100, Isaac Lleida wrote:
> This path implements a bit array representing the LCD signal states instead of the old "struct bits", which used char to represent a single bit. This will reduce the memory usage.
commit log should wrap at 72 char
> 
> Signed-off-by: Isaac Lleida <illeida@...naliasbox.org
missing '>'
> ---
> v2: fix some stupid errors from the first patch
> 
<snip>
> +#define BIT_ON(b, m)	(b |= m)
> +#define BIT_OFF(b, m)	(b &= ~m)
> +#define BIT_CHK(b, m)	(b & m)
> +#define BIT_MOD(b, m, v)				\
> +	(((v) ? BIT_ON(b, m) : BIT_OFF(b, m))?1:0)	\
missing ' ' around ? and :
please test your patch by checkpatch.pl before sending
regards
sudip
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
Powered by blists - more mailing lists
 
