|
Description
|
The following lint warnings are generated when compiled with the new
SS12 compiler tools. These were introduced in the changeset 84ec90ffc3f7.
This needs to be fixed.
Lint warnings
-------------
"/builds/nickto/ss12-ph2/ws/usr/src/cmd/format/ctlr_ata.c", line 120: warning: value ty
pe declared inconsistently: ap in ix_altsctr.c(66) struct alts_mempart * and ctlr_ata.c
(120) struct alts_mempart * (E_INCONS_VAL_TYPE_DECL2)
"/builds/nickto/ss12-ph2/ws/usr/src/cmd/format/ctlr_ata.c", line 357: warning: argument
used inconsistently: read_altsctr(arg 1) in ix_altsctr.c(115) struct dkl_partition * a
nd ctlr_ata.c(357) struct dkl_partition * (E_INCONS_ARG_USED2)
"/builds/nickto/ss12-ph2/ws/usr/src/cmd/format/ctlr_ata.c", line 402: warning: argument
used inconsistently: updatebadsec(arg 1) in ix_altsctr.c(95) struct dkl_partition * an
d ctlr_ata.c(402) struct dkl_partition * (E_INCONS_ARG_USED2)
"/builds/nickto/ss12-ph2/ws/usr/src/cmd/format/ctlr_ata.c", line 494: warning: argument
used inconsistently: updatebadsec(arg 1) in ix_altsctr.c(95) struct dkl_partition * an
d ctlr_ata.c(494) struct dkl_partition * (E_INCONS_ARG_USED2)
"/builds/nickto/ss12-ph2/ws/usr/src/cmd/format/global.h", line 110: warning: value type
declared inconsistently: cur_disk in global.h(110) struct disk_info * and global.h(110
) struct disk_info * (E_INCONS_VAL_TYPE_DECL2)
"/builds/nickto/ss12-ph2/ws/usr/src/cmd/format/global.h", line 111: warning: value type
declared inconsistently: cur_dtype in global.h(111) struct disk_type * and global.h(11
1) struct disk_type * (E_INCONS_VAL_TYPE_DECL2)
"/builds/nickto/ss12-ph2/ws/usr/src/cmd/format/global.h", line 112: warning: value type
declared inconsistently: cur_ctlr in global.h(112) struct ctlr_info * and global.h(112
) struct ctlr_info * (E_INCONS_VAL_TYPE_DECL2)
"/builds/nickto/ss12-ph2/ws/usr/src/cmd/format/global.h", line 113: warning: value type
declared inconsistently: cur_ctype in global.h(113) struct ctlr_type * and global.h(11
3) struct ctlr_type * (E_INCONS_VAL_TYPE_DECL2)
"/builds/nickto/ss12-ph2/ws/usr/src/cmd/format/global.h", line 115: warning: value type
declared inconsistently: cur_parts in global.h(115) struct partition_info * and global
.h(115) struct partition_info * (E_INCONS_VAL_TYPE_DECL2)
"/builds/nickto/ss12-ph2/ws/usr/src/cmd/format/global.h", line 137: warning: value type
declared inconsistently: controlp in global.h(137) struct mctlr_list * and global.h(13
7) struct mctlr_list * (E_INCONS_VAL_TYPE_DECL2)
"/builds/nickto/ss12-ph2/ws/usr/src/cmd/format/global.h", line 80: warning: value type
declared inconsistently: disk_list in global.h(80) struct disk_info * and global.h(80)
struct disk_info * (E_INCONS_VAL_TYPE_DECL2)
"/builds/nickto/ss12-ph2/ws/usr/src/cmd/format/global.h", line 81: warning: value type
declared inconsistently: ctlr_list in global.h(81) struct ctlr_info * and global.h(81)
struct ctlr_info * (E_INCONS_VAL_TYPE_DECL2)
"/builds/nickto/ss12-ph2/ws/usr/src/cmd/format/io.h", line 114: warning: function argum
ent declared inconsistently: pr_diskline(arg 1) in io.c(2091) struct disk_info * and io
.h(114) struct disk_info * (E_INCONS_ARG_DECL2)
|