Project

General

Profile

Actions

Bug #3628

open

rpcmod: enable lint warnings when possible

Added by Marcel Telka over 8 years ago.

Status:
New
Priority:
Normal
Assignee:
Category:
nfs - NFS server and client
Start date:
2013-03-14
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:

Description

We need to review the extensive list of disabled lint warnings for the rpcmod module, and where possible remove them:

$ grep -i err usr/src/uts/intel/rpcmod/Makefile
#    Overrides.
LINTTAGS    += -erroff=E_BAD_PTR_CAST_ALIGN
LINTTAGS    += -erroff=E_STATIC_UNUSED
LINTTAGS    += -erroff=E_PTRDIFF_OVERFLOW
LINTTAGS    += -erroff=E_ASSIGN_NARROW_CONV
LINTTAGS    += -erroff=E_SUSPICIOUS_COMPARISON
LINTTAGS    += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
CERRWARN    += -_gcc=-Wno-parentheses
CERRWARN    += -_gcc=-Wno-uninitialized
CERRWARN    += -_gcc=-Wno-switch
CERRWARN    += -_gcc=-Wno-unused-variable
CERRWARN    += -_gcc=-Wno-unused-label
CERRWARN    += -_gcc=-Wno-unused-function
$

No data to display

Actions

Also available in: Atom PDF