diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2023-07-19 14:40:49 +1000 |
---|---|---|
committer | Karol Herbst <kherbst@redhat.com> | 2023-07-19 11:08:47 +0200 |
commit | 752a281032b2d6f4564be827e082bde6f7d2fd4f (patch) | |
tree | 801f07050091e5a92232a551ab2f7c3e4a46fb57 /kernel/locking/rtmutex_api.c | |
parent | 05abb3be91d8788328231ee02973ab3d47f5e3d2 (diff) |
drm/nouveau/i2c: fix number of aux event slots
This was completely bogus before, using maximum DCB device index rather
than maximum AUX ID to size the buffer that stores event refcounts.
*Pretty* unlikely to have been an actual problem on most configurations,
that is, unless you've got one of the rare boards that have off-chip DP.
There, it'll likely crash.
Cc: stable@vger.kernel.org # 6.4+
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Reviewed-by: Karol Herbst <kherbst@redhat.com>
Signed-off-by: Karol Herbst <kherbst@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230719044051.6975-1-skeggsb@gmail.com
Diffstat (limited to 'kernel/locking/rtmutex_api.c')
0 files changed, 0 insertions, 0 deletions