diff options
| author | Petr Mladek <pmladek@suse.com> | 2026-04-20 13:41:28 +0200 |
|---|---|---|
| committer | Petr Mladek <pmladek@suse.com> | 2026-04-20 13:41:28 +0200 |
| commit | 3e9e952bb3139ad1e08f3e1960239c2988ab90c9 (patch) | |
| tree | ee27c846e06879bc062388cf948086caeda676cf /lib/test_debug_virtual.c | |
| parent | aea645c02f1acc36088618667e086b62d8f83e92 (diff) | |
| parent | 8901ac9d2c7eb8ed7ae5e749bf13ecb3b6062488 (diff) | |
Merge branch 'for-7.1-printf-kunit-build' into for-linus
Diffstat (limited to 'lib/test_debug_virtual.c')
| -rw-r--r-- | lib/test_debug_virtual.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/test_debug_virtual.c b/lib/test_debug_virtual.c index b7cc0aaee173..518ee8d213cd 100644 --- a/lib/test_debug_virtual.c +++ b/lib/test_debug_virtual.c @@ -29,7 +29,7 @@ static int __init test_debug_virtual_init(void) pr_info("PA: %pa for VA: 0x%lx\n", &pa, (unsigned long)va); - foo = kzalloc(sizeof(*foo), GFP_KERNEL); + foo = kzalloc_obj(*foo); if (!foo) return -ENOMEM; |
