diff options
| author | Arnd Bergmann <arnd@arndb.de> | 2018-01-10 17:26:59 +0100 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2018-01-11 16:53:13 +0100 |
| commit | ab271bd4dfd568060ffcf5a21b667c7c5df7ab99 (patch) | |
| tree | 938d708786a94958862ee10b51687d83ef0c42eb /tools/perf/scripts/python | |
| parent | Merge tag 'kvm-ppc-fixes-4.15-3' of git://git.kernel.org/pub/scm/linux/kernel... (diff) | |
| download | linux-ab271bd4dfd568060ffcf5a21b667c7c5df7ab99.tar.gz linux-ab271bd4dfd568060ffcf5a21b667c7c5df7ab99.zip | |
x86: kvm: propagate register_shrinker return code
Patch "mm,vmscan: mark register_shrinker() as __must_check" is
queued for 4.16 in linux-mm and adds a warning about the unchecked
call to register_shrinker:
arch/x86/kvm/mmu.c:5485:2: warning: ignoring return value of 'register_shrinker', declared with attribute warn_unused_result [-Wunused-result]
This changes the kvm_mmu_module_init() function to fail itself
when the call to register_shrinker fails.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
