Unbreak compilation with GCC.
This commit is contained in:
parent
c27f33b56c
commit
364871328e
@ -298,7 +298,8 @@ nand_ioctl(struct cdev *dev, u_long cmd, caddr_t data, int fflag,
|
|||||||
struct nand_oob_rw *oob_rw = NULL;
|
struct nand_oob_rw *oob_rw = NULL;
|
||||||
struct nand_raw_rw *raw_rw = NULL;
|
struct nand_raw_rw *raw_rw = NULL;
|
||||||
device_t nandbus;
|
device_t nandbus;
|
||||||
size_t bufsize, len, raw_size;
|
size_t bufsize = 0, len = 0;
|
||||||
|
size_t raw_size;
|
||||||
off_t off;
|
off_t off;
|
||||||
uint8_t *buf = NULL;
|
uint8_t *buf = NULL;
|
||||||
int ret = 0;
|
int ret = 0;
|
||||||
|
@ -197,7 +197,8 @@ nand_ioctl(struct disk *ndisk, u_long cmd, void *data, int fflag,
|
|||||||
struct nand_oob_rw *oob_rw = NULL;
|
struct nand_oob_rw *oob_rw = NULL;
|
||||||
struct nand_raw_rw *raw_rw = NULL;
|
struct nand_raw_rw *raw_rw = NULL;
|
||||||
device_t nandbus;
|
device_t nandbus;
|
||||||
size_t bufsize, len, raw_size;
|
size_t bufsize = 0, len = 0;
|
||||||
|
size_t raw_size;
|
||||||
off_t off;
|
off_t off;
|
||||||
uint8_t *buf = NULL;
|
uint8_t *buf = NULL;
|
||||||
int ret = 0;
|
int ret = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user