mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-05-24 10:39:52 +00:00
net: tulip: fix build with CONFIG_GSC
Fix typo which breaks build for parisc.
Fixes: 3daebfbeb4
("net: tulip: convert to devres")
Reported-by: Linux Kernel Functional Testing <lkft@linaro.org>
Link: https://lore.kernel.org/all/CA+G9fYuCzU5VZ_nc+6NEdBXJdVCH=J2SB1Na1G_NS_0BNdGYtg@mail.gmail.com/
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Rolf Eike Beer <eike-kernel@sf-tec.de>
Link: https://lore.kernel.org/r/4719560.GXAFRqVoOG@eto.sf-tec.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
c09b0cd2cc
commit
dc2df00af9
1 changed files with 1 additions and 1 deletions
|
@ -117,7 +117,7 @@ static void tulip_build_fake_mediatable(struct tulip_private *tp)
|
|||
0x00, 0x06 /* ttm bit map */
|
||||
};
|
||||
|
||||
tp->mtable = devm_kmalloc(&tp->pdev->pdev, sizeof(struct mediatable) +
|
||||
tp->mtable = devm_kmalloc(&tp->pdev->dev, sizeof(struct mediatable) +
|
||||
sizeof(struct medialeaf), GFP_KERNEL);
|
||||
|
||||
if (tp->mtable == NULL)
|
||||
|
|
Loading…
Add table
Reference in a new issue