kern/149502: [mpt] Latent buglet in debug print code

Andrew Boyer aboyer at averesystems.com
Tue Aug 10 15:10:03 UTC 2010


>Number:         149502
>Category:       kern
>Synopsis:       [mpt] Latent buglet in debug print code
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 10 15:10:03 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Andrew Boyer
>Release:        -CURRENT
>Organization:
Avere Systems Inc.
>Environment:
N/A
>Description:
In src/sys/dev/mpt/mpt.h, there's a macro to define an mpt_lprtc() function.  On line 1117 it references (mpt)->debug_level, which doesn't exist.  It should refer to (mpt)->verbose instead.
>How-To-Repeat:
Add debugging calls to mpt_lprtc() and try to build.
>Fix:
Replace (mpt)->debug_level with (mpt)->verbose on line 1117.

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list