From mboxrd@z Thu Jan 1 00:00:00 1970 From: Linus Walleij Subject: Re: linux-next: build warning after merge of the pinctrl tree Date: Thu, 11 Oct 2018 09:51:10 +0200 Message-ID: References: <20181011141728.50b2d17c@canb.auug.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: In-Reply-To: <20181011141728.50b2d17c@canb.auug.org.au> Sender: linux-kernel-owner@vger.kernel.org To: Stephen Rothwell Cc: Linux-Next Mailing List , "linux-kernel@vger.kernel.org" , =?UTF-8?B?UmFmYcWCIE1pxYJlY2tp?= List-Id: linux-next.vger.kernel.org On Thu, Oct 11, 2018 at 5:17 AM Stephen Rothwell wrote: > After merging the pinctrl tree, today's linux-next build (x86_64 > allmodconfig) produced this warning: > > drivers/pinctrl/bcm/pinctrl-ns.c: In function 'ns_pinctrl_probe': > drivers/pinctrl/bcm/pinctrl-ns.c:288:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] > ns_pinctrl->chipset_flag = (unsigned int)of_id->data; > ^ > drivers/pinctrl/bcm/pinctrl-ns.c:310:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] > unsigned int chipsets = (unsigned int)src->drv_data; > ^ I tried to fix it, stumbled, not I tried to fix it again. Let's see if I got it right now! Thanks, Linus Walleij