[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <1265090305.2517.13.camel@localhost.localdomain>
Date: Tue, 02 Feb 2010 07:58:25 +0200
From: Artem Bityutskiy <dedekind1@...il.com>
To: H Hartley Sweeten <hartleys@...ionengravers.com>
Cc: Linux Kernel <linux-kernel@...r.kernel.org>,
linux-mtd@...ts.infradead.org, dwmw2@...radead.org
Subject: Re: [PATCH] cfi.h: quiet sparse noise
On Fri, 2010-01-15 at 11:09 -0700, H Hartley Sweeten wrote:
> cfi.h: quiet sparse noise
>
> In the inline function cfi_build_cmd_addr, the cast of cmd_ofs to an
> uint8_t produces a sparse warning of the type:
>
> warning: cast truncates bits from constant value (2aa becomes aa)
>
> Quiet the warning by masking cmd_ofs with 0xff and remove the cast.
>
> Signed-off-by: H Hartley Sweeten <hsweeten@...ionengravers.com>
> Cc: David Woodhouse <dwmw2@...radead.org>
Pushed this one to my l2-mtd-2.6 / master
--
Best Regards,
Artem Bityutskiy (Артём Битюцкий)
--
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