diff options
| author | Petr Mladek <pmladek@suse.com> | 2026-04-20 14:41:28 +0300 |
|---|---|---|
| committer | Petr Mladek <pmladek@suse.com> | 2026-04-20 14:41:28 +0300 |
| commit | 3e9e952bb3139ad1e08f3e1960239c2988ab90c9 (patch) | |
| tree | ee27c846e06879bc062388cf948086caeda676cf /scripts/livepatch | |
| parent | aea645c02f1acc36088618667e086b62d8f83e92 (diff) | |
| parent | 8901ac9d2c7eb8ed7ae5e749bf13ecb3b6062488 (diff) | |
| download | linux-3e9e952bb3139ad1e08f3e1960239c2988ab90c9.tar.xz | |
Merge branch 'for-7.1-printf-kunit-build' into for-linus
Diffstat (limited to 'scripts/livepatch')
| -rw-r--r-- | scripts/livepatch/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/livepatch/init.c b/scripts/livepatch/init.c index 638c95cffe76..f14d8c8fb35f 100644 --- a/scripts/livepatch/init.c +++ b/scripts/livepatch/init.c @@ -28,7 +28,7 @@ static int __init livepatch_mod_init(void) goto err; } - patch = kzalloc(sizeof(*patch), GFP_KERNEL); + patch = kzalloc_obj(*patch); if (!patch) { ret = -ENOMEM; goto err; |
