Print this page
7127  remove -Wno-missing-braces from Makefile.uts

*** 123,133 **** #endif static int bios_check_extension_present(uchar_t drivenum) { ! struct bop_regs rp = {0}; extern struct bootops *bootops; rp.eax.word.ax = 0x4100; rp.ebx.word.bx = 0x55AA; rp.edx.word.dx = drivenum; --- 123,133 ---- #endif static int bios_check_extension_present(uchar_t drivenum) { ! struct bop_regs rp = {{0}}; extern struct bootops *bootops; rp.eax.word.ax = 0x4100; rp.ebx.word.bx = 0x55AA; rp.edx.word.dx = drivenum;
*** 151,161 **** } static int get_dev_params(uchar_t drivenum) { ! struct bop_regs rp = {0}; fn48_t *bufp; extern struct bootops *bootops; int i; int index; uchar_t *tmp; --- 151,161 ---- } static int get_dev_params(uchar_t drivenum) { ! struct bop_regs rp = {{0}}; fn48_t *bufp; extern struct bootops *bootops; int i; int index; uchar_t *tmp;
*** 203,213 **** } static int drive_present(uchar_t drivenum) { ! struct bop_regs rp = {0}; rp.eax.byte.ah = 0x8; /* get params */ rp.edx.byte.dl = drivenum; BOP_DOINT(bootops, 0x13, &rp); --- 203,213 ---- } static int drive_present(uchar_t drivenum) { ! struct bop_regs rp = {{0}}; rp.eax.byte.ah = 0x8; /* get params */ rp.edx.byte.dl = drivenum; BOP_DOINT(bootops, 0x13, &rp);
*** 223,233 **** } static void reset_disk(uchar_t drivenum) { ! struct bop_regs rp = {0}; int status; rp.eax.byte.ah = 0x0; /* reset disk */ rp.edx.byte.dl = drivenum; --- 223,233 ---- } static void reset_disk(uchar_t drivenum) { ! struct bop_regs rp = {{0}}; int status; rp.eax.byte.ah = 0x0; /* reset disk */ rp.edx.byte.dl = drivenum;
*** 243,253 **** /* Get first block */ static int read_firstblock(uchar_t drivenum) { ! struct bop_regs rp = {0}; caddr_t bufp; uchar_t status; int i, index; --- 243,253 ---- /* Get first block */ static int read_firstblock(uchar_t drivenum) { ! struct bop_regs rp = {{0}}; caddr_t bufp; uchar_t status; int i, index;
*** 287,297 **** } static int is_eltorito(uchar_t drivenum) { ! struct bop_regs rp = {0}; fn4b_t *bufp; extern struct bootops *bootops; int i; dprintf(("In is_eltorito\n")); --- 287,297 ---- } static int is_eltorito(uchar_t drivenum) { ! struct bop_regs rp = {{0}}; fn4b_t *bufp; extern struct bootops *bootops; int i; dprintf(("In is_eltorito\n"));