Re: [mkl-can-next:mcp251xfd-coalesce 13/13] drivers/net/can/spi/mcp251xfd/mcp251xfd-ring.c:15: warning: "DEBUG" redefined

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

 



On 09.03.2022 19:14:46, kernel test robot wrote:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can-next.git mcp251xfd-coalesce
> head:   031271d0164fc7de0efbc0afa8d4fada3197b30e
> commit: 031271d0164fc7de0efbc0afa8d4fada3197b30e [13/13] can: mcp251xfd: mcp251xfd-ring: enable DEBUG for now to print FIFO configuration overview during ifup
> config: alpha-allyesconfig (https://download.01.org/0day-ci/archive/20220309/202203091937.M6ZzGYRk-lkp@xxxxxxxxx/config)
> compiler: alpha-linux-gcc (GCC) 11.2.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://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can-next.git/commit/?id=031271d0164fc7de0efbc0afa8d4fada3197b30e
>         git remote add mkl-can-next https://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can-next.git
>         git fetch --no-tags mkl-can-next mcp251xfd-coalesce
>         git checkout 031271d0164fc7de0efbc0afa8d4fada3197b30e
>         # save the config file to linux build tree
>         mkdir build_dir
>         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=alpha SHELL=/bin/bash drivers/net/can/spi/mcp251xfd/
> 
> 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/net/can/spi/mcp251xfd/mcp251xfd-ring.c:15: warning: "DEBUG" redefined
>       15 | #define DEBUG
>          | 
>    <command-line>: note: this is the location of the previous definition

Good Bot!

It's branch is for testing, but I've wrapped this in a #ifndef...#endif
to fix this warning.

regards,
Marc

-- 
Pengutronix e.K.                 | Marc Kleine-Budde           |
Embedded Linux                   | https://www.pengutronix.de  |
Vertretung West/Dortmund         | Phone: +49-231-2826-924     |
Amtsgericht Hildesheim, HRA 2686 | Fax:   +49-5121-206917-5555 |

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Automotive Discussions]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]     [CAN Bus]

  Powered by Linux