[PATCH] isci: Make warning messages unique

From: Tim Gardner
Date: Mon Sep 12 2011 - 16:46:17 EST


This is a multi-part message in MIME format.Hi,

I've got a 2-way Sandybridge server with an 'Intel(R) C600 SAS Controller'. The driver makes a boatload of dmesg noise with non-unique messages distinguished only by the event code. For example, I've got 296 of these in dmesg:

(NULL device *): sci_phy_event_handler:735: PHY starting substate machine received unexpected event_code b3402000

In an effort to discover which of the 9 places from which this message was emitted I added a line number.

The next step is to decide if all of these really need to be dev_warn().

rtg
--
Tim Gardner tim.gardner@xxxxxxxxxxxxx