Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4a2176c6 authored by stephen hemminger's avatar stephen hemminger Committed by David S. Miller
Browse files

netvsc: don't print pointer value in error message



Using %p to print pointer to packet meta-data doesn't give any
good info, and exposes kernel memory offsets.

Signed-off-by: default avatarStephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 867047c4
Loading
Loading
Loading
Loading
+4 −2
Original line number Original line Diff line number Diff line
@@ -805,8 +805,10 @@ static inline int netvsc_send_pkt(
			ret = -ENOSPC;
			ret = -ENOSPC;
		}
		}
	} else {
	} else {
		netdev_err(ndev, "Unable to send packet %p ret %d\n",
		netdev_err(ndev,
			   packet, ret);
			   "Unable to send packet pages %u len %u, ret %d\n",
			   packet->page_buf_cnt, packet->total_data_buflen,
			   ret);
	}
	}


	return ret;
	return ret;