On Wed, Oct 16, 2013 at 02:02:21PM -0300, Mauro Carvalho Chehab wrote: > Date: Wed, 16 Oct 2013 14:02:21 -0300 > From: Mauro Carvalho Chehab <m.che...@samsung.com> > To: "Chen, Gong" <gong.c...@linux.intel.com> > Cc: tony.l...@intel.com, b...@alien8.de, j...@perches.com, > naveen.n....@linux.vnet.ibm.com, aroza...@redhat.com, > linux-a...@vger.kernel.org, linux-kernel@vger.kernel.org, Thomas > Winischhofer <tho...@winischhofer.net>, Jean-Christophe Plagniol-Villard > <plagn...@jcrosoft.com>, Tomi Valkeinen <tomi.valkei...@ti.com> > Subject: Re: [PATCH v2 3/9] bitops: Introduce a more generic BITMASK macro > X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.19; x86_64-redhat-linux-gnu) > > Em Wed, 16 Oct 2013 10:56:00 -0400 > "Chen, Gong" <gong.c...@linux.intel.com> escreveu: > > > GENMASK is used to create a contiguous bitmask([hi:lo]). It is > > implemented twice in current kernel. One is in EDAC driver, the other > > is in SiS/XGI FB driver. Move it to a more generic place for other > > usage. > > > > Signed-off-by: Chen, Gong <gong.c...@linux.intel.com> > > Cc: Borislav Petkov <b...@alien8.de> > > Cc: Thomas Winischhofer <tho...@winischhofer.net> > > Cc: Jean-Christophe Plagniol-Villard <plagn...@jcrosoft.com> > > Cc: Tomi Valkeinen <tomi.valkei...@ti.com> > > Acked-by: Mauro Carvalho Chehab <m.che...@samsung.com> > > Btw, there's another incarnation of it at sb_edac.c (GET_BITFIELD). > It could make sense to also replace it by the newly bitops.h macro. > > Regards, > Mauro
Aha, I will update it in the next version.
signature.asc
Description: Digital signature