]> git.baikalelectronics.ru Git - kernel.git/commit
livepatch: match return value to function signature
authorNicholas Mc Guire <hofrat@osadl.org>
Mon, 11 May 2015 05:52:29 +0000 (07:52 +0200)
committerJiri Kosina <jkosina@suse.cz>
Mon, 11 May 2015 21:43:52 +0000 (23:43 +0200)
commit0ac5f94c9b2b581051ee15907a05f1291cd51729
tree07cd253c4a917d5706314cff1a98c3080dd8ddb2
parent3e53b448eee4bc8e2a78f85d2b6c1af49a2825d5
livepatch: match return value to function signature

klp_initialized() should return bool but is actually returning
struct kobject * - convert it to a boolean explicitly.

Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org>
Reviewed-by: Jiri Slaby <jslaby@suse.cz
Acked-by: Josh Poimboeuf <jpoimboe@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
kernel/livepatch/core.c