Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Aug 2010 15:01:34 GMT
From:      Andrew Boyer <aboyer@averesystems.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/149502: [mpt] Latent buglet in debug print code
Message-ID:  <201008101501.o7AF1YxE044478@www.freebsd.org>
Resent-Message-ID: <201008101510.o7AFA368041539@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008101501.o7AF1YxE044478>