On 07/11/2016 02:31 PM, David Miller wrote: > From: kbuild test robot <[email protected]> > Date: Tue, 12 Jul 2016 05:19:57 +0800 > >> All warnings (new ones prefixed by >>): >> >> drivers/net/dsa/b53/b53_srab.c: In function 'b53_srab_probe': >>>> drivers/net/dsa/b53/b53_srab.c:388:20: warning: cast from pointer to >>>> integer of different size [-Wpointer-to-int-cast] >> pdata->chip_id = (u32)of_id->data; >> ^ >> > > Fixed as follows: > > ==================== > [PATCH] b53: Fix build warning. > > drivers/net/dsa/b53/b53_srab.c: In function 'b53_srab_probe': >>> drivers/net/dsa/b53/b53_srab.c:388:20: warning: cast from pointer to >>> integer of different size [-Wpointer-to-int-cast] > pdata->chip_id = (u32)of_id->data; > ^ > > Reported-by: kbuild test robot <[email protected]> > Signed-off-by: David S. Miller <[email protected]>
Acked-by: Florian Fainelli <[email protected]> You are fast, thanks David! -- Florian
