summaryrefslogtreecommitdiff
path: root/include/uapi/scsi/fc/fc_els.h
diff options
context:
space:
mode:
authorBimmy Pujari <bimmy.pujari@intel.com>2016-11-11 12:39:38 -0800
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2017-02-02 22:39:39 -0800
commit6de432c5ae28e7330e14e85c4c614a67a0a12263 (patch)
treec1d7c6a951c089d533a4e8428af44d348858cbef /include/uapi/scsi/fc/fc_els.h
parent9569a9a4547d5636827c3f6b09be73ed924b1d16 (diff)
i40e: Deprecating unused macro
I40E_MAC_X710 was supposed to be for 10G and I40E_MAC_XL710 was supposed to be for 40G. But function i40e_is_mac_710 sets I40E_MAC_XL710 for all device IDS, I40E_MAC_X710 is not used at all. As there is nothing to compare there is no need for this function. Thus deprecating this extra macro and removing this function entirely and replacing it with a direct check. Change-ID: I7d1769954dccd574a290ac04adb836ebd156730e Signed-off-by: Bimmy Pujari <bimmy.pujari@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'include/uapi/scsi/fc/fc_els.h')
0 files changed, 0 insertions, 0 deletions
reference (no PERCPU_COUNT_BIAS, and __PERCPU_REF_DEAD, __PERCPU_REF_ATOMIC set) and no requests. However, conditions at the time of the race are count of PERCPU_COUNT_BIAS + 0 and __PERCPU_REF_DEAD and __PERCPU_REF_ATOMIC set. The fix is to make the tryget routines use an actual boolean internally instead of the atomic long result truncated to a int. Fixes: e625305b3907 percpu-refcount: make percpu_ref based on longs instead of ints Link: https://bugzilla.kernel.org/show_bug.cgi?id=190751 Signed-off-by: Douglas Miller <dougmill@linux.vnet.ibm.com> Reviewed-by: Jens Axboe <axboe@fb.com> Signed-off-by: Tejun Heo <tj@kernel.org> Fixes: e625305b3907 ("percpu-refcount: make percpu_ref based on longs instead of ints") Cc: stable@vger.kernel.org # v3.18+
Diffstat (limited to 'include/net/bluetooth/hci_core.h')