mirror of
https://github.com/torvalds/linux.git
synced 2024-12-26 21:02:19 +00:00
chelsio: fix misspelling of current function in string
Replace a misspelled function name by %s and then __func__. This was done using Coccinelle, including the use of Levenshtein distance, as proposed by Rasmus Villemoes. Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
d954e87964
commit
5e84e189ce
@ -301,7 +301,7 @@ unsigned int t1_sched_update_parms(struct sge *sge, unsigned int port,
|
||||
struct sched_port *p = &s->p[port];
|
||||
unsigned int max_avail_segs;
|
||||
|
||||
pr_debug("t1_sched_update_params mtu=%d speed=%d\n", mtu, speed);
|
||||
pr_debug("%s mtu=%d speed=%d\n", __func__, mtu, speed);
|
||||
if (speed)
|
||||
p->speed = speed;
|
||||
if (mtu)
|
||||
|
Loading…
Reference in New Issue
Block a user