diff options
| author | Piotr Kwapulinski <piotr.kwapulinski@intel.com> | 2019-04-24 05:20:49 -0700 |
|---|---|---|
| committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2019-06-14 12:59:16 -0700 |
| commit | f5a2b3ffb7af4b6ae5b905850a1a6bad82b268b9 (patch) | |
| tree | 05391fdf50b15a675d8f1cea507044f79bea9945 /scripts/basic | |
| parent | 97e42ef440a37efee0878625d18d22e57c3077cb (diff) | |
| download | cachepc-linux-f5a2b3ffb7af4b6ae5b905850a1a6bad82b268b9.tar.gz cachepc-linux-f5a2b3ffb7af4b6ae5b905850a1a6bad82b268b9.zip | |
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 'scripts/basic')
0 files changed, 0 insertions, 0 deletions
