diff options
author | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2010-06-05 14:32:50 -0400 |
---|---|---|
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2010-06-09 13:42:18 -0400 |
commit | f9c70f9129f2d88645c3a26711302a7f6ba9afd0 (patch) | |
tree | 5a50106146109d2a1744a809a3fef7f9d8bee7d1 /drivers/firewire | |
parent | a10c0ce76098857b899505d05de9f2e13ddf7a7a (diff) |
firewire: core: trivial fix for warning strings
WARN's format string argument should not carry a printk level prefix.
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'drivers/firewire')
-rw-r--r-- | drivers/firewire/core-transaction.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/firewire/core-transaction.c b/drivers/firewire/core-transaction.c index 4fd5c3b2128e..f33a629c8379 100644 --- 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, | |||
246 | break; | 246 | break; |
247 | 247 | ||
248 | default: | 248 | default: |
249 | WARN(1, KERN_ERR "wrong tcode %d", tcode); | 249 | WARN(1, "wrong tcode %d", tcode); |
250 | } | 250 | } |
251 | common: | 251 | common: |
252 | packet->speed = speed; | 252 | packet->speed = speed; |
@@ -610,7 +610,7 @@ int fw_get_response_length(struct fw_request *r) | |||
610 | } | 610 | } |
611 | 611 | ||
612 | default: | 612 | default: |
613 | WARN(1, KERN_ERR "wrong tcode %d", tcode); | 613 | WARN(1, "wrong tcode %d", tcode); |
614 | return 0; | 614 | return 0; |
615 | } | 615 | } |
616 | } | 616 | } |
@@ -666,7 +666,7 @@ void fw_fill_response(struct fw_packet *response, u32 *request_header, | |||
666 | break; | 666 | break; |
667 | 667 | ||
668 | default: | 668 | default: |
669 | WARN(1, KERN_ERR "wrong tcode %d", tcode); | 669 | WARN(1, "wrong tcode %d", tcode); |
670 | } | 670 | } |
671 | 671 | ||
672 | response->payload_mapped = false; | 672 | response->payload_mapped = false; |