staging: unisys: visornic: visornic_main.c: fix multiline dereference.
This patch fixes two checkpatch warnings in the visornic_main.c file to avoid multiline dereference. Signed-off-by: Sameer Wadgaonkar <sameer.wadgaonkar@unisys.com> Signed-off-by: David Kershner <david.kershner@unisys.com> Reviewed-by: Tim Sell <timothy.sell@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
5ea5c64b51
commit
c02c6a0c97
@ -288,11 +288,10 @@ static int visor_copy_fragsinfo_from_skb(struct sk_buff *skb,
|
|||||||
|
|
||||||
for (frag = 0; frag < numfrags; frag++) {
|
for (frag = 0; frag < numfrags; frag++) {
|
||||||
count = add_physinfo_entries(page_to_pfn(
|
count = add_physinfo_entries(page_to_pfn(
|
||||||
skb_frag_page(&skb_shinfo(skb)->frags[frag])),
|
skb_frag_page(&skb_shinfo(skb)->frags[frag])),
|
||||||
skb_shinfo(skb)->frags[frag].
|
skb_shinfo(skb)->frags[frag].page_offset,
|
||||||
page_offset,
|
skb_shinfo(skb)->frags[frag].size, count,
|
||||||
skb_shinfo(skb)->frags[frag].
|
frags_max, frags);
|
||||||
size, count, frags_max, frags);
|
|
||||||
/* add_physinfo_entries only returns
|
/* add_physinfo_entries only returns
|
||||||
* zero if the frags array is out of room
|
* zero if the frags array is out of room
|
||||||
* That should never happen because we
|
* That should never happen because we
|
||||||
|
Loading…
Reference in New Issue
Block a user