diff options
| author | Tom Parkin <[email protected]> | 2020-07-24 15:31:50 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2020-07-25 00:19:14 +0000 |
| commit | 7a379558c28c435681221aa5d84ead8ff19211be (patch) | |
| tree | 0466a1b2aaaa57fc90349f501df60f827ce4fdf1 /drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c | |
| parent | l2tp: avoid multiple assignments (diff) | |
| download | kernel-7a379558c28c435681221aa5d84ead8ff19211be.tar.gz kernel-7a379558c28c435681221aa5d84ead8ff19211be.zip | |
l2tp: WARN_ON rather than BUG_ON in l2tp_dfs_seq_start
l2tp_dfs_seq_start had a BUG_ON to catch a possible programming error in
l2tp_dfs_seq_open.
Since we can easily bail out of l2tp_dfs_seq_start, prefer to do that
and flag the error with a WARN_ON rather than crashing the kernel.
Signed-off-by: Tom Parkin <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c')
0 files changed, 0 insertions, 0 deletions
