[Bugme-new] [Bug 42142] New: mpt2sas: Number specified in wrong base.

bugzilla-daemon at bugzilla.kernel.org bugzilla-daemon at bugzilla.kernel.org
Wed Aug 31 12:56:40 PDT 2011


https://bugzilla.kernel.org/show_bug.cgi?id=42142

           Summary: mpt2sas: Number specified in wrong base.
           Product: SCSI Drivers
           Version: 2.5
    Kernel Version: 3.0.4
          Platform: All
        OS/Version: Linux
              Tree: Mainline
            Status: NEW
          Severity: low
          Priority: P1
         Component: Other
        AssignedTo: scsi_drivers-other at kernel-bugs.osdl.org
        ReportedBy: daniel.kernel at the-cell.co.uk
        Regression: No


I think this is the right product/component combination, sorry if it isn't.

I was hunting through mpt2sas chasing unrelated hardware gremlins and noticed
an odd bit of code, I've checked the latest version on lxr and it's still
there.

http://lxr.linux.no/linux+v3.0.4/drivers/scsi/mpt2sas/mpt2sas_base.c#L611

 611        /* eat the loginfos associated with task aborts */
 612        if (ioc->ignore_loginfos && (log_info == 30050000 || log_info ==
 613            0x31140000 || log_info == 0x31130000))
 614                return;
 615

I'm assuming that the first of those log_info checks is meant to be 0x30050000,
as specified it is rendered always false by the bus type check a few lines
above.

It's a minor detail, but I thought I'd report it anyway since it's so trivial
to fix if you have the source to hand.

Regards,
Daniel

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the Bugme-new mailing list