Skip to content

Commit

Permalink
Add missing void pointer argument to SYSINIT() functions.
Browse files Browse the repository at this point in the history
MFC after:	3 days
Sponsored by:	Mellanox Technologies
  • Loading branch information
hselasky committed Mar 18, 2015
1 parent 47d10f1 commit 0a348b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sys/ofed/include/linux/linux_compat.c
Original file line number Diff line number Diff line change
Expand Up @@ -782,7 +782,7 @@ linux_timer_init(void *arg)
SYSINIT(linux_timer, SI_SUB_DRIVERS, SI_ORDER_FIRST, linux_timer_init, NULL);

static void
linux_compat_init(void)
linux_compat_init(void *arg)
{
struct sysctl_oid *rootoid;
int i;
Expand Down Expand Up @@ -811,7 +811,7 @@ linux_compat_init(void)
SYSINIT(linux_compat, SI_SUB_DRIVERS, SI_ORDER_SECOND, linux_compat_init, NULL);

static void
linux_compat_uninit(void)
linux_compat_uninit(void *arg)
{
kobject_kfree_name(&class_root);
kobject_kfree_name(&linux_rootdev.kobj);
Expand Down

0 comments on commit 0a348b9

Please sign in to comment.