mirror of
https://github.com/dynup/kpatch
synced 2024-12-28 08:12:01 +00:00
fix incompatible pointer type warning
Fixes the following warning: kpatch-patch-hook.c:71:2: warning: initialization from incompatible pointer type [enabled by default] __ATTR(enabled, 0644, patch_enabled_show, patch_enabled_store); ^ Signed-off-by: Seth Jennings <sjenning@redhat.com>
This commit is contained in:
parent
a3efb7e1aa
commit
e5f17c6b9a
@ -41,7 +41,7 @@ static ssize_t patch_enabled_show(struct kobject *kobj,
|
||||
}
|
||||
|
||||
static ssize_t patch_enabled_store(struct kobject *kobj,
|
||||
struct kobj_attribute *attr, char *buf,
|
||||
struct kobj_attribute *attr, const char *buf,
|
||||
size_t count)
|
||||
{
|
||||
int ret;
|
||||
|
Loading…
Reference in New Issue
Block a user