diff options
| author | Riyan Dhiman <riyandhiman14@gmail.com> | 2024-08-27 15:56:05 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-08-29 12:55:55 +0300 |
| commit | a8a8b54350229f59c8ba6496fb5689a1632a59be (patch) | |
| tree | 0a9c45f72ac042ad4e7c51e68a00dc9cd5d4f64e /tools/perf/scripts/python/intel-pt-events.py | |
| parent | c692c1b77b5da74bf94954cc65a05a348e5a5eae (diff) | |
| download | linux-a8a8b54350229f59c8ba6496fb5689a1632a59be.tar.xz | |
staging: vme_user: added bound check to geoid
The geoid is a module parameter that allows users to hardcode the slot number.
A bound check for geoid was added in the probe function because only values
between 0 and less than VME_MAX_SLOT are valid.
Signed-off-by: Riyan Dhiman <riyandhiman14@gmail.com>
Reviewed-by: Dan Carpenter <dan.carpenter@linaro.org>
Link: https://lore.kernel.org/r/20240827125604.42771-2-riyandhiman14@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions
