summaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorPiotr Kwapulinski <piotr.kwapulinski@intel.com>2019-04-24 05:20:49 -0700
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2019-06-14 12:59:16 -0700
commitf5a2b3ffb7af4b6ae5b905850a1a6bad82b268b9 (patch)
tree05391fdf50b15a675d8f1cea507044f79bea9945 /mm
parent97e42ef440a37efee0878625d18d22e57c3077cb (diff)
downloadlinux-f5a2b3ffb7af4b6ae5b905850a1a6bad82b268b9.tar.bz2
i40e: Add bounds check for ch[] array
Add bounds check for ch[] array. Use ARRAY_SIZE() to ensure that idx is within the range. Signed-off-by: Piotr Kwapulinski <piotr.kwapulinski@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions