Re: [PATCH v4 4/5] pinctrl: Add RTL8231 pin control and GPIO support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2021-06-03 at 23:58 +0800, kernel test robot wrote:
> Hi Sander,
> 
> Thank you for the patch! Perhaps something to improve:
> 
> [auto build test WARNING on pavel-linux-leds/for-next]
> [also build test WARNING on pinctrl/devel v5.13-rc4]
> [cannot apply to lee-mfd/for-mfd-next next-20210603]
> [If your patch is applied to the wrong git tree, kindly drop us a note.
> And when submitting patch, we suggest to use '--base' as documented in
> https://git-scm.com/docs/git-format-patch]
> 
> url:    
> https://github.com/0day-ci/linux/commits/Sander-Vanheule/dt-bindings-leds-Binding-for-RTL8231-scan-matrix/20210603-190118
> base:   git://git.kernel.org/pub/scm/linux/kernel/git/pavel/linux-leds.git
> for-next
> config: sparc-allyesconfig (attached as .config)
> compiler: sparc64-linux-gcc (GCC) 9.3.0
> reproduce (this is a W=1 build):
>         wget 
> https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
> ~/bin/make.cross
>         chmod +x ~/bin/make.cross
>         # 
> https://github.com/0day-ci/linux/commit/9c3e2b6957a6d750d6d39e78e2089abcc0cf740c
>         git remote add linux-review https://github.com/0day-ci/linux
>         git fetch --no-tags linux-review Sander-Vanheule/dt-bindings-leds-
> Binding-for-RTL8231-scan-matrix/20210603-190118
>         git checkout 9c3e2b6957a6d750d6d39e78e2089abcc0cf740c
>         # save the attached .config to linux build tree
>         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross
> ARCH=sparc 
> 
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <lkp@xxxxxxxxx>
> 
> All warnings (new ones prefixed by >>):
> 
>    drivers/pinctrl/pinctrl-rtl8231.c: In function 'rtl8231_set_mux':
> > > drivers/pinctrl/pinctrl-rtl8231.c:189:27: warning: cast from pointer to
> > > integer of different size [-Wpointer-to-int-cast]
>      189 |  unsigned int func_flag = (unsigned int) func->data;
>          |                           ^
> 

I'll change this cast to uintptr_t.

Best,
Sander






[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux