Date: Mon, 19 Oct 2015 11:11:15 +0000 (UTC) From: Hans Petter Selasky <hselasky@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r289568 - head/sys/ofed/include/linux Message-ID: <201510191111.t9JBBF4v057473@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: hselasky Date: Mon Oct 19 11:11:15 2015 New Revision: 289568 URL: https://svnweb.freebsd.org/changeset/base/289568 Log: Merge LinuxKPI changes from DragonflyBSD: - Whitespace fixes. Sponsored by: Mellanox Technologies Modified: head/sys/ofed/include/linux/moduleparam.h Modified: head/sys/ofed/include/linux/moduleparam.h ============================================================================== --- head/sys/ofed/include/linux/moduleparam.h Mon Oct 19 11:09:51 2015 (r289567) +++ head/sys/ofed/include/linux/moduleparam.h Mon Oct 19 11:11:15 2015 (r289568) @@ -48,7 +48,7 @@ struct kernel_param { u16 flags; param_set_fn set; param_get_fn get; - union { + union { void *arg; struct kparam_string *str; struct kparam_array *arr; @@ -83,8 +83,8 @@ param_sysinit(struct kernel_param *param SYSINIT(name##_param_sysinit, SI_SUB_DRIVERS, SI_ORDER_FIRST, \ param_sysinit, &__param_##name); -#define module_param_string(name, string, len, perm) - +#define module_param_string(name, string, len, perm) + #define module_param_named(name, var, type, mode) \ module_param_call(name, param_set_##type, param_get_##type, &var, mode) @@ -118,7 +118,7 @@ param_set_short(const char *val, struct return 0; } -static inline int +static inline int param_get_short(char *buffer, struct kernel_param *kp) { @@ -126,14 +126,14 @@ param_get_short(char *buffer, struct ker } -static inline int +static inline int param_set_ushort(const char *val, struct kernel_param *kp) { return 0; } -static inline int +static inline int param_get_ushort(char *buffer, struct kernel_param *kp) { @@ -141,14 +141,14 @@ param_get_ushort(char *buffer, struct ke } -static inline int +static inline int param_set_int(const char *val, struct kernel_param *kp) { return 0; } -static inline int +static inline int param_get_int(char *buffer, struct kernel_param *kp) { @@ -156,14 +156,14 @@ param_get_int(char *buffer, struct kerne } -static inline int +static inline int param_set_uint(const char *val, struct kernel_param *kp) { return 0; } -static inline int +static inline int param_get_uint(char *buffer, struct kernel_param *kp) { @@ -171,14 +171,14 @@ param_get_uint(char *buffer, struct kern } -static inline int +static inline int param_set_long(const char *val, struct kernel_param *kp) { return 0; } -static inline int +static inline int param_get_long(char *buffer, struct kernel_param *kp) { @@ -186,14 +186,14 @@ param_get_long(char *buffer, struct kern } -static inline int +static inline int param_set_ulong(const char *val, struct kernel_param *kp) { return 0; } -static inline int +static inline int param_get_ulong(char *buffer, struct kernel_param *kp) { @@ -201,14 +201,14 @@ param_get_ulong(char *buffer, struct ker } -static inline int +static inline int param_set_charp(const char *val, struct kernel_param *kp) { return 0; } -static inline int +static inline int param_get_charp(char *buffer, struct kernel_param *kp) { @@ -216,14 +216,14 @@ param_get_charp(char *buffer, struct ker } -static inline int +static inline int param_set_bool(const char *val, struct kernel_param *kp) { return 0; } -static inline int +static inline int param_get_bool(char *buffer, struct kernel_param *kp) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201510191111.t9JBBF4v057473>