]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
staging: ks7010: rename identifier packet to skb
authorTobin C. Harding <me@tobin.cc>
Mon, 10 Apr 2017 03:15:56 +0000 (13:15 +1000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 11 Apr 2017 14:14:33 +0000 (16:14 +0200)
commit78037ef122afa7468c5addbb10885b984b3eef05
tree6869febb3bce894d95c954c6c326fb43bcdda976
parentdd85d7120f1ed99b86185b3f1b8ab42ea4835fbd
staging: ks7010: rename identifier packet to skb

Kernel networking code predominately uses the identifier 'skb' for a struct
sk_buff pointer. Of 8088 instances of 'struct sk_buff *' within
net/ 6670 are named 'skb'. Following the principle of least surprise,
new networking code should use the identifier 'skb' for variables of
type 'struct sk_buff *'.

Rename identifier 'packet' to 'skb'.

Signed-off-by: Tobin C. Harding <me@tobin.cc>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ks7010/ks_hostif.c
drivers/staging/ks7010/ks_hostif.h