netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC 0/3] make skb accessors return void pointers
@ 2017-06-15 22:12 Johannes Berg
  2017-06-15 22:12 ` [RFC 1/3] networking: make skb_put & friends " Johannes Berg
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Johannes Berg @ 2017-06-15 22:12 UTC (permalink / raw)
  To: netdev

Hi,

After some more fun with spatch, I've come up with these three patches.

I couldn't figure out why spatch didn't convert one skb_put() place,
and there was one inside a macro it didn't find. Otherwise, it's
pretty much just spatch and changing the functions/prototypes.

I've compiled x86 allyesconfig with this and the skb_put_data() and
more skb_put_zero() conversions, but I'm going to wait for the 0-day
kbuild bot to tell me it succeeded on my branch (pushed all of this
to mac80211-next on the skb-access-cleanups branch) before I submit
all five patches properly.

There's, obviously, no way I'd even have attempted this before having
coccinelle :-)

johannes

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2017-06-16 11:26 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-15 22:12 [RFC 0/3] make skb accessors return void pointers Johannes Berg
2017-06-15 22:12 ` [RFC 1/3] networking: make skb_put & friends " Johannes Berg
2017-06-16  7:53   ` Bjørn Mork
2017-06-16  8:42     ` Johannes Berg
2017-06-16 10:39       ` Joe Perches
2017-06-16 11:03         ` Johannes Berg
2017-06-16 11:26           ` Joe Perches
2017-06-15 22:12 ` [RFC 2/3] networking: make skb_pull " Johannes Berg
2017-06-15 22:12 ` [RFC 3/3] networking: make skb_push & __skb_push " Johannes Berg
2017-06-16  9:19   ` Joe Perches
2017-06-16  9:24     ` Johannes Berg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).