Re: [PATCH v2] net: set static variable an initial value in atl2_probe()

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

 




On 2019/2/22 14:28, Dan Carpenter wrote:
> You need to send this to netdev.
OK, I have done that.
> 
> On Fri, Feb 22, 2019 at 01:40:12PM +0800, Mao Wenan wrote:
>> cards_found is a static variable, but when it enters atl2_probe(),
>> cards_found is set to zero, the value is not consistent with it in the heap,
>> so next behavior is not our expect.
>>
> 
> This seems reasonable.  Does this do anything besides let you configure
> multiple cards in different ways using module parameters?

I think this need to develop new interface by using module parameters.




[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux