]> git.baikalelectronics.ru Git - kernel.git/commit
i40e/i40evf: modify debug prints to avoid seg faults
authorKamil Krawczyk <kamil.krawczyk@intel.com>
Wed, 4 Jun 2014 00:57:12 +0000 (00:57 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 20 Jun 2014 07:46:19 +0000 (00:46 -0700)
commite1658072856bf33f3e659393c56d1114342b58dd
treecb97d6df60f4b902642f7103410d27e2b93c9c9a
parent6517d57a7c22b7ae72334068213c5050addb2ffc
i40e/i40evf: modify debug prints to avoid seg faults

Some AQ debug prints needs be moved around or do additional checks so they
will not cause our tool applications to cause segmentation faults.
The tools run in user space and we need to correctly reference kernel
space memory.

Change-ID: Ia2ac4076f576b805f350453fd50ad69c2a91ab9a
Signed-off-by: Kamil Krawczyk <kamil.krawczyk@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_adminq.c
drivers/net/ethernet/intel/i40evf/i40e_adminq.c