diff options
| author | 2019-04-24 05:20:49 -0700 | |
|---|---|---|
| committer | 2019-06-14 12:59:16 -0700 | |
| commit | f5a2b3ffb7af4b6ae5b905850a1a6bad82b268b9 (patch) | |
| tree | 05391fdf50b15a675d8f1cea507044f79bea9945 /tools/include/linux/stringify.h | |
| parent | i40e: Use signed variable (diff) | |
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 'tools/include/linux/stringify.h')
0 files changed, 0 insertions, 0 deletions
