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:
Seth Jennings 2014-05-12 15:20:09 -05:00
parent a3efb7e1aa
commit e5f17c6b9a

View File

@ -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;