Skip to content

Commit

Permalink
firewire: core: trivial fix for warning strings
Browse files Browse the repository at this point in the history
WARN's format string argument should not carry a printk level prefix.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
  • Loading branch information
Stefan Richter committed Jun 9, 2010
1 parent a10c0ce commit f9c70f9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/firewire/core-transaction.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
}
}
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit f9c70f9

Please sign in to comment.