diff options
author | Mikulas Patocka | 2024-01-09 15:59:15 +0100 |
---|---|---|
committer | Mike Snitzer | 2024-01-30 14:06:44 -0500 |
commit | 9cf11ce06ea52911245578032761e40a6409cf35 (patch) | |
tree | c0eee6f11a1148c4d7a509d88d989ecf55df0c26 /lib/fonts | |
parent | bd504bcfec41a503b32054da5472904b404341a4 (diff) |
dm stats: limit the number of entries
The kvmalloc function fails with a warning if the size is larger than
INT_MAX. Linus said that there should be limits that prevent this warning
from being hit. This commit adds the limits to the dm-stats subsystem
in DM core.
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@kernel.org>
Diffstat (limited to 'lib/fonts')
0 files changed, 0 insertions, 0 deletions