diff options
| author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2023-08-20 12:51:14 +0300 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2023-08-30 22:26:38 +0300 |
| commit | a23abe1fbdc16358ca185b4681fef19ec75b79c3 (patch) | |
| tree | 3f4487ccc4df1d28e5b84e8c4694b8f8d29b06bb /scripts/patch-kernel | |
| parent | ff49bd2c74f2e9659c942aff9629b5fcbffed97f (diff) | |
| download | linux-a23abe1fbdc16358ca185b4681fef19ec75b79c3.tar.xz | |
drm/amdgpu: Remove a redundant sanity check
The case where 'num_entries' is too big, is already handled by
struct_size(), because kvmalloc() would fail.
It will return -ENOMEM instead of -EINVAL, but it is only related to a
unlikely to happen sanity check.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
