]> git.baikalelectronics.ru Git - kernel.git/commit
ice: Fix pointer cast warnings
authorBixuan Cui <cuibixuan@huawei.com>
Wed, 7 Oct 2020 17:54:46 +0000 (10:54 -0700)
committerJakub Kicinski <kuba@kernel.org>
Fri, 9 Oct 2020 20:14:19 +0000 (13:14 -0700)
commit87e6c40aabfd94391cc231b66b0101604a6ec1ed
tree554240633435ddf8b12f98e56365b513dd7ea8a6
parentb23772df4e8a70b91ba751076ddf79aab78dc7ad
ice: Fix pointer cast warnings

pointers should be casted to unsigned long to avoid
-Wpointer-to-int-cast warnings:

drivers/net/ethernet/intel/ice/ice_flow.h:197:33: warning:
    cast from pointer to integer of different size
drivers/net/ethernet/intel/ice/ice_flow.h:198:32: warning:
    cast to pointer from integer of different size

Signed-off-by: Bixuan Cui <cuibixuan@huawei.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/intel/ice/ice_flow.h