qlcnic: fix coding style issues in qlcnic_minidump.c

Fix coding style violations in qlcnic_minidump.c

Signed-off-by: Sony Chacko <sony.chacko@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Sony Chacko 2012-11-28 04:34:31 +00:00 committed by David S. Miller
parent 58634e74e6
commit 1e6b55ee98
1 changed files with 17 additions and 17 deletions

View File

@ -115,7 +115,7 @@ struct qlcnic_dump_entry {
} region;
} __packed;
enum op_codes {
enum qlcnic_minidump_opcode {
QLCNIC_DUMP_NOP = 0,
QLCNIC_DUMP_READ_CRB = 1,
QLCNIC_DUMP_READ_MUX = 2,
@ -139,7 +139,7 @@ enum op_codes {
};
struct qlcnic_dump_operations {
enum op_codes opcode;
enum qlcnic_minidump_opcode opcode;
u32 (*handler)(struct qlcnic_adapter *, struct qlcnic_dump_entry *,
__le32 *);
};
@ -533,7 +533,7 @@ qlcnic_valid_dump_entry(struct device *dev, struct qlcnic_dump_entry *entry,
int ret = 1;
if (size != entry->hdr.cap_size) {
dev_info(dev,
"Invalidate dump, Type:%d\tMask:%d\tSize:%dCap_size:%d\n",
"Invalid dump, Type:%d\tMask:%d\tSize:%dCap_size:%d\n",
entry->hdr.type, entry->hdr.mask, size, entry->hdr.cap_size);
dev_info(dev, "Aborting further dump capture\n");
ret = 0;
@ -568,7 +568,7 @@ int qlcnic_dump_fw(struct qlcnic_adapter *adapter)
if (!fw_dump->data) {
dev_info(&adapter->pdev->dev,
"Unable to allocate (%d KB) for fw dump\n",
dump_size/1024);
dump_size / 1024);
return -ENOMEM;
}
buffer = fw_dump->data;