[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <F45880696056844FA6A73F415B568C69589ECE9775@EXDCVYMBSTM006.EQ1STM.local>
Date: Wed, 14 Mar 2012 05:36:16 +0100
From: Arun MURTHY <arun.murthy@...ricsson.com>
To: Anton Vorontsov <anton.vorontsov@...aro.org>
Cc: "dwmw2@...radead.org" <dwmw2@...radead.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Karl KOMIEROWSKI <karl.komierowski@...ricsson.com>,
Johan BJORNSTEDT <johan.bjornstedt@...ricsson.com>,
"linus.walleij@...aro.org" <linus.walleij@...aro.org>
Subject: RE: [PATCH 3/6] ab8500_fg: Get rid of 'struct v_to_cap'
> The struct is duplicated, plus when used it causes the following
> warnings:
>
> CHECK drivers/power/ab8500_fg.c
> ab8500_fg.c:818:13: warning: incorrect type in assignment (different
> base types)
> ab8500_fg.c:818:13: expected struct v_to_cap *tbl
> ab8500_fg.c:818:13: got struct abx500_v_to_cap *const v_to_cap_tbl
> CC drivers/power/ab8500_fg.o
> ab8500_fg.c: In function 'ab8500_fg_volt_to_capacity':
> ab8500_fg.c:818:6: warning: assignment from incompatible pointer type
> [enabled by default]
>
> Signed-off-by: Anton Vorontsov <anton.vorontsov@...aro.org>
> ---
Signed-off-by: Arun Murthy <arun.murthy@...ricsson.com>
Powered by blists - more mailing lists