net: korina: cast KSEG0 address to pointer in kfree
authorValentin Vidic <vvidic@valentin-vidic.from.hr>
Sun, 18 Oct 2020 18:42:55 +0000 (20:42 +0200)
committerJakub Kicinski <kuba@kernel.org>
Tue, 20 Oct 2020 00:00:00 +0000 (17:00 -0700)
commit3bd57b90554b4bb82dce638e0668ef9dc95d3e96
treedf946cf06cc1577b4b2200e2a3a8b129a2fbc72d
parent424a646e072a887aa87283b53aa6f8b19c2a7bef
net: korina: cast KSEG0 address to pointer in kfree

Fixes gcc warning:

passing argument 1 of 'kfree' makes pointer from integer without a cast

Fixes: 3af5f0f5c74e ("net: korina: fix kfree of rx/tx descriptor array")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Valentin Vidic <vvidic@valentin-vidic.from.hr>
Link: https://lore.kernel.org/r/20201018184255.28989-1-vvidic@valentin-vidic.from.hr
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/korina.c