From: "Moore, Eric Dean" <Eric.Moore@lsil.com>
To: linux scsi <linux-scsi@vger.kernel.org>
Subject: [PATCH 2/4] fusion - remove whitespace
Date: Wed, 1 Jun 2005 10:47:36 -0600 [thread overview]
Message-ID: <200506011047.36655.Eric.Moore@lsil.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 223 bytes --]
mptfusion patch 2/4:
This patch can also be found at this URL:
ftp://ftp.lsil.com/HostAdapterDrivers/linux/Fusion-MPT/2.6-kernel/3.03.03/
Changelog:
* killing white space
Signed-off-by: Eric.Moore<Eric.Moore@lsil.com>
[-- Attachment #2: sas_upates2.patch --]
[-- Type: text/x-diff, Size: 3254 bytes --]
--- b/drivers/message/fusion/mptlan.c 2005-05-10 14:27:13.000000000 -0600
+++ a/drivers/message/fusion/mptlan.c 2005-05-26 12:05:37.000000000 -0600
@@ -852,7 +852,7 @@
*/
{
struct mpt_lan_priv *priv = dev->priv;
-
+
if (test_and_set_bit(0, &priv->post_buckets_active) == 0) {
if (priority) {
schedule_work(&priv->post_buckets_task);
@@ -1169,22 +1169,22 @@
"(priv->buckets_out = %d)\n",
IOC_AND_NETDEV_NAMES_s_s(dev),
remaining, atomic_read(&priv->buckets_out));
-
+
if ((remaining < priv->bucketthresh) &&
((atomic_read(&priv->buckets_out) - remaining) >
MPT_LAN_BUCKETS_REMAIN_MISMATCH_THRESH)) {
-
+
printk (KERN_WARNING MYNAM " Mismatch between driver's "
"buckets_out count and fw's BucketsRemaining "
"count has crossed the threshold, issuing a "
"LanReset to clear the fw's hashtable. You may "
"want to check your /var/log/messages for \"CRC "
"error\" event notifications.\n");
-
+
mpt_lan_reset(dev);
mpt_lan_wake_post_buckets_task(dev, 0);
}
-
+
return mpt_lan_receive_skb(dev, skb);
}
@@ -1456,7 +1456,7 @@
ioc->pfacts[i].PortNumber);
continue;
}
-
+
printk(KERN_INFO MYNAM ": %s: Fusion MPT LAN device "
"registered as '%s'\n", ioc->name, dev->name);
printk(KERN_INFO MYNAM ": %s/%s: "
@@ -1465,7 +1465,7 @@
dev->dev_addr[0], dev->dev_addr[1],
dev->dev_addr[2], dev->dev_addr[3],
dev->dev_addr[4], dev->dev_addr[5]);
-
+
ioc->netdev = dev;
return 0;
@@ -1513,7 +1513,7 @@
}
dlprintk((KERN_INFO MYNAM ": Registered for IOC reset notifications\n"));
-
+
if (mpt_device_driver_register(&mptlan_driver, MPTLAN_DRIVER))
dprintk((KERN_INFO MYNAM ": failed to register dd callbacks\n"));
return 0;
--- b/drivers/message/fusion/mptspi.c 2005-05-05 10:19:45.000000000 -0600
+++ a/drivers/message/fusion/mptspi.c 2005-05-26 11:56:17.000000000 -0600
@@ -175,15 +175,15 @@
u8 *mem;
int error=0;
int r;
-
+
if ((r = mpt_attach(pdev,id)) != 0)
return r;
-
+
ioc = pci_get_drvdata(pdev);
ioc->DoneCtx = mptspiDoneCtx;
ioc->TaskCtx = mptspiTaskCtx;
ioc->InternalCtx = mptspiInternalCtx;
-
+
/* Added sanity check on readiness of the MPT adapter.
*/
if (ioc->last_state != MPI_IOC_STATE_OPERATIONAL) {
@@ -468,7 +468,7 @@
mptspi_exit(void)
{
pci_unregister_driver(&mptspi_driver);
-
+
mpt_reset_deregister(mptspiDoneCtx);
dprintk((KERN_INFO MYNAM
": Deregistered for IOC reset notifications\n"));
--- b/drivers/message/fusion/mptfc.c 2005-05-10 14:59:11.000000000 -0600
+++ a/drivers/message/fusion/mptfc.c 2005-05-26 11:57:03.000000000 -0600
@@ -165,10 +165,10 @@
u8 *mem;
int error=0;
int r;
-
+
if ((r = mpt_attach(pdev,id)) != 0)
return r;
-
+
ioc = pci_get_drvdata(pdev);
ioc->DoneCtx = mptfcDoneCtx;
ioc->TaskCtx = mptfcTaskCtx;
@@ -336,7 +336,7 @@
ddvprintk((MYIOC_s_INFO_FMT
"mpt_pq_filter %x\n",
- ioc->name,
+ ioc->name,
mpt_pq_filter));
init_waitqueue_head(&hd->scandv_waitq);
@@ -413,7 +413,7 @@
mptfc_exit(void)
{
pci_unregister_driver(&mptfc_driver);
-
+
mpt_reset_deregister(mptfcDoneCtx);
dprintk((KERN_INFO MYNAM
": Deregistered for IOC reset notifications\n"));
reply other threads:[~2005-06-01 16:50 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200506011047.36655.Eric.Moore@lsil.com \
--to=eric.moore@lsil.com \
--cc=linux-scsi@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.