Messages in this thread | | | Subject | Re: [PATCH net-next] net: can: Fix compiling warning | From | Oliver Hartkopp <> | Date | Mon, 12 Aug 2019 10:11:11 +0200 |
| |
On 12/08/2019 07.48, maowenan wrote: > On 2019/8/7 0:41, Oliver Hartkopp wrote:
>> I compiled the code (the original version), but I do not get that "Should it be static?" warning:
> here are my steps for net/can/bcm.c, > make allmodconfig ARCH=mips CROSS_COMPILE=mips-linux-gnu- > make C=2 net/can/bcm.o ARCH=mips CROSS_COMPILE=mips-linux-gnu-
There were some sparse _errors_ in my setup that hide that "static" warning. I will use sparse by default now.
Many thanks, Oliver
| |