Microsemi / switchtec-kernel

A kernel module for the Microsemi PCIe switch
GNU General Public License v2.0
45 stars 31 forks source link

null check move to before dereference #31

Closed wesleywesley closed 4 years ago

lsgunth commented 6 years ago

Needs a better commit message, like what effects you are seeing.

Really, there is no dereference, ARRAY_SIZE should be reduced to a compile time constant.