mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] staging:unisys:visornic:visornic_main.c: Avoid multiple line derefernece
@ 2017-08-25 17:56 harsha
  0 siblings, 0 replies; only message in thread
From: harsha @ 2017-08-25 17:56 UTC (permalink / raw)
  To: gregkh; +Cc: devel, linux-kernel, harsha

Signed-off-by: harsha <harshasharmaiitr@gmail.com>
---
 drivers/staging/unisys/visornic/visornic_main.c | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/drivers/staging/unisys/visornic/visornic_main.c b/drivers/staging/unisys/visornic/visornic_main.c
index 0b39676..57fc65f 100644
--- a/drivers/staging/unisys/visornic/visornic_main.c
+++ b/drivers/staging/unisys/visornic/visornic_main.c
@@ -253,10 +253,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
-- 
1.9.1

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-08-25 17:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-25 17:56 [PATCH] staging:unisys:visornic:visornic_main.c: Avoid multiple line derefernece harsha

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®