http://defect.opensolaris.org/bz/show_bug.cgi?id=6101

           Summary: Need to clean up lint warnings.
    Classification: Development
           Product: power-mgmt
           Version: unspecified
          Platform: Other
        OS/Version: Solaris
            Status: NEW
          Severity: minor
          Priority: P4
         Component: PAD
        AssignedTo: mark.haywood at sun.com
        ReportedBy: mark.haywood at sun.com
                CC: tesla-dev at opensolaris.org


=== lint warnings src ====

"../../common/disp/cmt.c", line 1175: warning: argument unused in function: t
in
cmt_ev_thread_remain_pwr (E_FUNC_ARG_UNUSED)
"../../i86pc/io/cpudrv/cpudrv_mach.c", line 56: warning: static unused:
cpudrv_m
ach_notify_handler (E_STATIC_UNUSED)
"../../i86pc/os/cpuid.c", line 3419: warning: variable unused in function: cp
in
add_cpunode2devtree (E_FUNC_VAR_UNUSED)
"../../i86pc/os/cpupm/cpu_acpi.c", line 849: warning: variable unused in
functio
n: path in cpu_acpi_install_notify_handler (E_FUNC_VAR_UNUSED)
"../../i86pc/os/cpupm/cpu_acpi.c", line 863: warning: variable unused in
functio
n: path in cpu_acpi_remove_notify_handler (E_FUNC_VAR_UNUSED)
"../../i86pc/os/cpupm/cpupm.c", line 451: warning: set but not used in
function:
mach_dom_state_ptr in cpupm_state_change (E_FUNC_SET_NOT_USED)
"../../i86pc/os/cpupm/cpupm.c", line 581: warning: argument unused in function:
cp in cpupm_get_speeds (E_FUNC_ARG_UNUSED)
"../../i86pc/os/cpupm/cpupm.c", line 581: warning: argument unused in function:
speeds in cpupm_get_speeds (E_FUNC_ARG_UNUSED)
"../../i86pc/os/cpupm/cpupm.c", line 593: warning: argument unused in function:
nspeeds in cpupm_free_speeds (E_FUNC_ARG_UNUSED)
"../../i86pc/os/cpupm/cpupm.c", line 593: warning: argument unused in function:
speeds in cpupm_free_speeds (E_FUNC_ARG_UNUSED)
"../../i86pc/os/cpupm/cpupm.c", line 644: warning: argument unused in function:
cp in cpupm_add_notify_handler (E_FUNC_ARG_UNUSED)
"../../i86pc/os/cpupm/cpupm.c", line 644: warning: argument unused in function:
ctx in cpupm_add_notify_handler (E_FUNC_ARG_UNUSED)
"../../i86pc/os/cpupm/cpupm.c", line 644: warning: argument unused in function:
handler in cpupm_add_notify_handler (E_FUNC_ARG_UNUSED)
"../../i86pc/os/cpupm/cpupm.c", line 670: warning: argument unused in function:
cp in cpupm_free_notify_handlers (E_FUNC_ARG_UNUSED)
"../../i86pc/os/cpupm/cpupm.c", line 702: warning: argument unused in function:
cp in cpupm_get_top_speed (E_FUNC_ARG_UNUSED)
"../../i86pc/os/cpupm/cpupm_throttle.c", line 302: warning: variable unused in
f
unction: domain in cpupm_throttle_manage_notification (E_FUNC_VAR_UNUSED)
"/export/bholler/tesla/pad-cleanup/usr/src/uts/i86pc/os/mp_startup.c", line
1584
: warning: value type used inconsistently: cpupm_init in
/export/bholler/tesla/p
ad-cleanup/usr/src/uts/i86pc/os/cpupm/cpupm.c(116) enum () and
/export/bholler/t
esla/pad-cleanup/usr/src/uts/i86pc/os/mp_startup.c(1584) int ()
(E_INCONS_VAL_TY
PE_USED2)
"/export/bholler/tesla/pad-cleanup/usr/src/uts/i86pc/os/mp_startup.c", line
1822
: warning: function returns value which is always ignored: cpupm_init
(E_FUNC_RE
T_ALWAYS_IGNOR2)

-- 
Configure bugmail: http://defect.opensolaris.org/bz/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Reply via email to