diff options
| author | Su Hui <suhui@nfschina.com> | 2025-04-22 09:51:45 +0800 |
|---|---|---|
| committer | Joel Fernandes <joelagnelf@nvidia.com> | 2025-05-16 09:00:54 -0400 |
| commit | bed3af437f38f9a7a8b8a7de153a421f023c6e0b (patch) | |
| tree | 22c9c4401afc3c5bd37c1b4b2d4adc171d854d83 /lib/memory-notifier-error-inject.c | |
| parent | 79ea7f43f8d5aeefc711d4ce322e0a7fbf41de14 (diff) | |
rcuscale: using kcalloc() to relpace kmalloc()
It's safer to using kcalloc() because it can prevent overflow
problem.
Reviewed-by: Paul E. McKenney <paulmck@kernel.org>
Signed-off-by: Su Hui <suhui@nfschina.com>
Signed-off-by: Joel Fernandes <joelagnelf@nvidia.com>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions
