You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
module_param: make bool parameters really bool (drivers & misc)
module_param(bool) used to counter-intuitively take an int. In
fddd5201 (mid-2009) we allowed bool or int/unsigned int using a messy
trick.
It's time to remove the int/unsigned int option. For this version
it'll simply give a warning, but it'll break next kernel version.
Acked-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -20,9 +20,6 @@
|
||||
*/
|
||||
|
||||
|
||||
/* PARAMETERS */
|
||||
static int verbose; /* set this to 1 to see debugging messages and whatnot */
|
||||
|
||||
#define BACKPACK_VERSION "2.0.2"
|
||||
|
||||
#include <linux/module.h>
|
||||
@@ -36,6 +33,8 @@ static int verbose; /* set this to 1 to see debugging messages and whatnot */
|
||||
#include "ppc6lnx.c"
|
||||
#include "paride.h"
|
||||
|
||||
/* PARAMETERS */
|
||||
static bool verbose; /* set this to 1 to see debugging messages and whatnot */
|
||||
|
||||
|
||||
#define PPCSTRUCT(pi) ((Interface *)(pi->private))
|
||||
|
||||
@@ -124,8 +124,9 @@
|
||||
by default.
|
||||
|
||||
*/
|
||||
#include <linux/types.h>
|
||||
|
||||
static int verbose = 0;
|
||||
static bool verbose = 0;
|
||||
static int major = PD_MAJOR;
|
||||
static char *name = PD_NAME;
|
||||
static int cluster = 64;
|
||||
|
||||
@@ -118,13 +118,15 @@
|
||||
#define PF_NAME "pf"
|
||||
#define PF_UNITS 4
|
||||
|
||||
#include <linux/types.h>
|
||||
|
||||
/* Here are things one can override from the insmod command.
|
||||
Most are autoprobed by paride unless set here. Verbose is off
|
||||
by default.
|
||||
|
||||
*/
|
||||
|
||||
static int verbose = 0;
|
||||
static bool verbose = 0;
|
||||
static int major = PF_MAJOR;
|
||||
static char *name = PF_NAME;
|
||||
static int cluster = 64;
|
||||
|
||||
@@ -130,13 +130,14 @@
|
||||
#define PI_PG 4
|
||||
#endif
|
||||
|
||||
#include <linux/types.h>
|
||||
/* Here are things one can override from the insmod command.
|
||||
Most are autoprobed by paride unless set here. Verbose is 0
|
||||
by default.
|
||||
|
||||
*/
|
||||
|
||||
static int verbose = 0;
|
||||
static bool verbose = 0;
|
||||
static int major = PG_MAJOR;
|
||||
static char *name = PG_NAME;
|
||||
static int disable = 0;
|
||||
|
||||
@@ -109,13 +109,15 @@
|
||||
#define PT_NAME "pt"
|
||||
#define PT_UNITS 4
|
||||
|
||||
#include <linux/types.h>
|
||||
|
||||
/* Here are things one can override from the insmod command.
|
||||
Most are autoprobed by paride unless set here. Verbose is on
|
||||
by default.
|
||||
|
||||
*/
|
||||
|
||||
static int verbose = 0;
|
||||
static bool verbose = 0;
|
||||
static int major = PT_MAJOR;
|
||||
static char *name = PT_NAME;
|
||||
static int disable = 0;
|
||||
|
||||
Reference in New Issue
Block a user