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
|
@ -289,10 +289,9 @@ static int visor_copy_fragsinfo_from_skb(struct sk_buff *skb,
|
|||
for (frag = 0; frag < numfrags; frag++) {
|
||||
count = add_physinfo_entries(page_to_pfn(
|
||||
skb_frag_page(&skb_shinfo(skb)->frags[frag])),
|
||||
skb_shinfo(skb)->frags[frag].
|
||||
page_offset,
|
||||
skb_shinfo(skb)->frags[frag].
|
||||
size, count, frags_max, frags);
|
||||
skb_shinfo(skb)->frags[frag].page_offset,
|
||||
skb_shinfo(skb)->frags[frag].size, count,
|
||||
frags_max, frags);
|
||||
/* add_physinfo_entries only returns
|
||||
* zero if the frags array is out of room
|
||||
* That should never happen because we
|
||||
|
|
Loading…
Reference in New Issue