Thread (9 messages) flat view 9 messages, 3 authors, 2012-11-06

Re: [PATCH] net: ipv6: change %8s to %s for seq_printf of if6_seq_stop

From: Chen Gang <hidden>
Date: 2012-11-06 01:10:51

于 2012年11月05日 19:17, Chen Gang 写道:
  the length of ifp->idev->dev->name is 16 (IFNAMSIZ)
  in seq_printf, it is not suitable to use %8s for rt->dst.dev->name.
  so change it to %s, since each line has not been solid any more.
1) sorry, the comments is incorrect
   need use ifp->idev->dev->name instead of rt->dst.dev->name in 2nd line.
   I will send it again.

2) By the way, the three patches "* %8s to %s *" are almost the same
   If need merge them into one patch, please tell me, I shall do.

   thanks.

-- 
Chen Gang

Asianux Corporation
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help