]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1229b98e06cb5760cd18053a3a3beedd445ca53b
treedf946cf06cc1577b4b2200e2a3a8b129a2fbc72d
parent66f03fdab1fb4d4022a5fa46639661516eb9c0e5
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: 726a138c6724 ("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