Commit c02c6a0c authored by Sameer Wadgaonkar's avatar Sameer Wadgaonkar Committed by Greg Kroah-Hartman

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: default avatarSameer Wadgaonkar <sameer.wadgaonkar@unisys.com>
Signed-off-by: default avatarDavid Kershner <david.kershner@unisys.com>
Reviewed-by: default avatarTim Sell <timothy.sell@unisys.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 5ea5c64b
...@@ -288,11 +288,10 @@ static int visor_copy_fragsinfo_from_skb(struct sk_buff *skb, ...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment