1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-20 11:11:24 +00:00

Merge LinuxKPI changes from DragonflyBSD:

- Whitespace fixes.

Sponsored by:	Mellanox Technologies
This commit is contained in:
Hans Petter Selasky 2015-10-19 11:11:15 +00:00
parent b526833859
commit 96e8192d3c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=289568

View File

@ -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 kernel_param *kp)
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 kernel_param *kp)
}
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 kernel_param *kp)
}
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 kernel_param *kp)
}
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 kernel_param *kp)
}
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 kernel_param *kp)
}
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 kernel_param *kp)
}
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 kernel_param *kp)
}
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)
{