]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
i40e: don't leak memory addresses
authorMitch Williams <mitch.a.williams@intel.com>
Mon, 22 Jan 2018 17:00:32 +0000 (12:00 -0500)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 13 Feb 2018 19:40:10 +0000 (11:40 -0800)
commit7be78aa444794d4d242f8192c627df57e2cc2e98
treec300e09b6f78806f5cb5ea84db175088f3781912
parent03f431b33a6486680ff4e43b059176720bb41972
i40e: don't leak memory addresses

Could a Bad Person do Bad Things to a server if they found these
addresses printed in the log? Who knows? But let's not take that risk.

Remove pointers from a bunch of printks. In some cases, I was able to
adjust the message to indicate whether or not the value was null. In
others, I just removed the entire message as there was really no hope of
saving it.

Signed-off-by: Mitch Williams <mitch.a.williams@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_debugfs.c
drivers/net/ethernet/intel/i40e/i40e_main.c