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]

 



You need to send this to netdev.

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?

regards,
dan carpenter




[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