From: "NickCheng" <nick.cheng@areca.com.tw>
To: linux-scsi@vger.kernel.org
Cc: linux-kernel@vger.kernel.org, jejb@kernel.org,
??? <ching2048@areca.com.tw>
Subject: [PATCH 2/5] arcmsr: Support Hibernation
Date: Fri, 8 Feb 2013 14:02:41 +0800 [thread overview]
Message-ID: <1EB796BACAC44E2EABDE58C8B47B4E8F@arecaaebe11fae> (raw)
[-- Attachment #1: Type: text/plain, Size: 157 bytes --]
From: Nick Cheng <nick.cheng@areca.com.tw>
Support hibernation for whole series of RAID controllers
Signed-off-by: Nick Cheng <nick.cheng@areca.com.tw>
---
[-- Attachment #2: checkpatch2 --]
[-- Type: application/octet-stream, Size: 2202 bytes --]
WARNING: Too many leading tabs - consider code refactoring
#70: FILE: drivers/scsi/arcmsr/arcmsr_hba.c:567:
+ if (psdev != NULL) {
WARNING: line over 80 characters
#71: FILE: drivers/scsi/arcmsr/arcmsr_hba.c:568:
+ scsi_remove_device(psdev);
WARNING: line over 80 characters
#72: FILE: drivers/scsi/arcmsr/arcmsr_hba.c:569:
+ scsi_device_put(psdev);
WARNING: braces {} are not necessary for single statement blocks
#96: FILE: drivers/scsi/arcmsr/arcmsr_hba.c:692:
+ for (i = 0; i < ARCMST_NUM_MSIX_VECTORS; i++) {
+ free_irq(acb->entries[i].vector, acb);
+ }
WARNING: printk() should include KERN_ facility level
#127: FILE: drivers/scsi/arcmsr/arcmsr_hba.c:723:
+ printk("%s: pci_enable_device error\n", __func__);
WARNING: Too many leading tabs - consider code refactoring
#150: FILE: drivers/scsi/arcmsr/arcmsr_hba.c:746:
+ for (j = 0 ; j < i ; j++)
WARNING: line over 80 characters
#151: FILE: drivers/scsi/arcmsr/arcmsr_hba.c:747:
+ free_irq(entries[i].vector,
WARNING: printk() should include KERN_ facility level
#159: FILE: drivers/scsi/arcmsr/arcmsr_hba.c:755:
+ printk("arcmsr%d: MSI-X"
WARNING: quoted string split across lines
#160: FILE: drivers/scsi/arcmsr/arcmsr_hba.c:756:
+ printk("arcmsr%d: MSI-X"
+ "failed to enable\n", acb->host->host_no);
WARNING: braces {} are not necessary for single statement blocks
#168: FILE: drivers/scsi/arcmsr/arcmsr_hba.c:764:
+ if (!pci_enable_msi(pdev)) {
+ acb->acb_flags |= ACB_F_MSI_ENABLED;
+ }
WARNING: quoted string split across lines
#231: FILE: drivers/scsi/arcmsr/arcmsr_hba.c:1100:
pr_notice("arcmsr%d: scsi id = %d lun = %d"
+ "isr get command error done, but got unknown"
WARNING: quoted string split across lines
#263: FILE: drivers/scsi/arcmsr/arcmsr_hba.c:2403:
pr_notice("arcmsr%d: wait 'get adapter firmware"
+ "miscellaneous data' timeout\n",
ERROR: Missing Signed-off-by: line(s)
total: 1 errors, 12 warnings, 259 lines checked
../patch2 has style problems, please review.
If any of these errors are false positives, please report
them to the maintainer, see CHECKPATCH in MAINTAINERS.
next reply other threads:[~2013-02-08 6:02 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-08 6:02 NickCheng [this message]
-- strict thread matches above, loose matches on Subject: below --
2013-02-08 6:07 [PATCH 2/5] arcmsr: Support Hibernation NickCheng
2013-02-08 6:03 NickCheng
2013-02-06 8:36 NickCheng
2013-02-07 17:31 ` Tomas Henzl
2012-12-04 11:59 NickCheng
2012-12-17 10:48 ` James Bottomley
2012-11-16 11:55 NickCheng
2012-11-15 7:24 NickCheng
2012-10-12 9:06 NickCheng
2012-10-03 12:39 NickCheng
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=1EB796BACAC44E2EABDE58C8B47B4E8F@arecaaebe11fae \
--to=nick.cheng@areca.com.tw \
--cc=ching2048@areca.com.tw \
--cc=jejb@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox