diff options
| author | Sebastian Sanchez <[email protected]> | 2015-12-10 16:02:49 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2015-12-21 14:00:17 -0800 |
| commit | 07859def5de0d909334a2e45e5e428f393e8cc9e (patch) | |
| tree | 384efd160731eb89af00a521e7d47f8513c87d23 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 859bcad9c2c5487dd74d4cfbdcbdd6c63a0ca955 (diff) | |
staging/rdma/hfi1: Fix for module parameter hdrq_entsize when it's 0
If driver is loaded with parameter hdrq_entsize=0, then
there's a NULL dereference when the driver gets unloaded.
This causes a kernel Oops and prevents the module from
being unloaded. This patch fixes this issue by making sure
-EINVAL gets returned when hdrq_entsize=0.
Reviewed-by: Chegondi, Harish <[email protected]>
Reviewed-by: Haralanov, Mitko <[email protected]>
Signed-off-by: Sebastian Sanchez <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions