Print this page
7127 remove -Wno-missing-braces from Makefile.uts
*** 181,192 ****
&pciide_ops, /* driver ops */
};
static struct modlinkage modlinkage = {
MODREV_1,
! &modldrv,
! NULL
};
int
_init(void)
--- 181,191 ----
&pciide_ops, /* driver ops */
};
static struct modlinkage modlinkage = {
MODREV_1,
! { &modldrv, NULL }
};
int
_init(void)
*** 982,995 ****
* Here's the transformation matrix:
*/
static int pciide_transform[2][2][5] = {
/* P S */
! /* [C][C] */ +1, +1, +1, +1, -4,
! /* [C][N] */ +3, +3, -2, -2, -2,
! /* [N][C] */ +0, +0, +1, +1, -2,
! /* [N][N] */ +0, +0, +0, +0, +0
};
static int
pciide_map_rnumber(int rnumber, int pri_native, int sec_native)
--- 981,994 ----
* Here's the transformation matrix:
*/
static int pciide_transform[2][2][5] = {
/* P S */
! /* [C][C] */ { { +1, +1, +1, +1, -4 },
! /* [C][N] */ { +3, +3, -2, -2, -2 } },
! /* [N][C] */ { { +0, +0, +1, +1, -2 },
! /* [N][N] */ { +0, +0, +0, +0, +0 } }
};
static int
pciide_map_rnumber(int rnumber, int pri_native, int sec_native)