projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a10c0ce
)
firewire: core: trivial fix for warning strings
author
Stefan Richter
<
[email protected]
>
Sat, 5 Jun 2010 18:32:50 +0000
(20:32 +0200)
committer
Stefan Richter
<
[email protected]
>
Wed, 9 Jun 2010 17:42:18 +0000
(19:42 +0200)
WARN's format string argument should not carry a printk level prefix.
Signed-off-by: Stefan Richter <
[email protected]
>
drivers/firewire/core-transaction.c
patch
|
blob
|
history
diff --git
a/drivers/firewire/core-transaction.c
b/drivers/firewire/core-transaction.c
index 4fd5c3b2128e07b99ac001e4d7508e13f2214eb5..f33a629c83794802d3de4390af59eddb61c26799 100644
(file)
--- a/
drivers/firewire/core-transaction.c
+++ b/
drivers/firewire/core-transaction.c
@@
-246,7
+246,7
@@
static void fw_fill_request(struct fw_packet *packet, int tcode, int tlabel,
break;
default:
- WARN(1,
KERN_ERR
"wrong tcode %d", tcode);
+ WARN(1, "wrong tcode %d", tcode);
}
common:
packet->speed = speed;
@@
-610,7
+610,7
@@
int fw_get_response_length(struct fw_request *r)
}
default:
- WARN(1,
KERN_ERR
"wrong tcode %d", tcode);
+ WARN(1, "wrong tcode %d", tcode);
return 0;
}
}
@@
-666,7
+666,7
@@
void fw_fill_response(struct fw_packet *response, u32 *request_header,
break;
default:
- WARN(1,
KERN_ERR
"wrong tcode %d", tcode);
+ WARN(1, "wrong tcode %d", tcode);
}
response->payload_mapped = false;