Re: [PATCH v3] staging: rtl8192e: Fix conflicting types error with net_device.

2024-06-25 Thread Philipp Hortmann
On 6/25/24 18:33, Teddy Engel wrote: Add a pre-declaration of struct net_device so the compiler is able to use rtl_pci.h / rtl_cam.h. Signed-off-by: Teddy Engel Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202406250858.l8rjmhqm-...@intel.com/ Fixes:

[staging:staging-testing] BUILD REGRESSION 921190437a4827667cceef10202b2150571ebe5c

2024-06-25 Thread kernel test robot
: variable 'pwdev_priv' set but not used [-Wunused-but-set-variable] Error/Warning ids grouped by kconfigs: recent_errors |-- arm64-randconfig-001-20240625 | |-- drivers-staging-rtl8192e-rtl8192e-rtl_pci.c:error:conflicting-types-for-rtl92e_check_adapter-have-bool(struct-pci_dev-struct-net_device

[PATCH v3] staging: rtl8192e: Fix conflicting types error with net_device.

2024-06-25 Thread Teddy Engel
Add a pre-declaration of struct net_device so the compiler is able to use rtl_pci.h / rtl_cam.h. Signed-off-by: Teddy Engel Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202406250858.l8rjmhqm-...@intel.com/ Fixes: 7dff0b27d9c8 ("staging: rtl8192e: Remove

Re: [PATCH v2] staging: rtl8192e: Fix conflicting types error with net_device.

2024-06-25 Thread Greg Kroah-Hartman
On Tue, Jun 25, 2024 at 04:19:18PM +0100, Teddy Engel wrote: > Add a pre-declaration of struct net_device so the compiler is able to > use rtl_pci.h / rtl_cam.h. > > Fix for commit: 7dff0b27d9c842f88149bf611cbc0b59be1dcd3c: > [34/59] staging: rtl89192e: Remove unnecessary pre-declaration of

[PATCH v2] staging: rtl8192e: Fix conflicting types error with net_device.

2024-06-25 Thread Teddy Engel
Add a pre-declaration of struct net_device so the compiler is able to use rtl_pci.h / rtl_cam.h. Fix for commit: 7dff0b27d9c842f88149bf611cbc0b59be1dcd3c: [34/59] staging: rtl89192e: Remove unnecessary pre-declaration of struct net_device. Signed-off-by: Teddy Engel Reported-by: kernel test

Re: [PATCH] staging: rtl8192e: Fix conflicting types error with net_device.

2024-06-25 Thread Greg Kroah-Hartman
On Tue, Jun 25, 2024 at 01:56:38PM +0100, Teddy Engel wrote: > Add a pre-declaration of struct net_device so the compiler is able to > use rtl_pci.h / rtl_cam.h. > > Signed-off-by: Teddy Engel > Reported-by: kernel test robot > Closes: >

[PATCH] staging: rtl8192e: Fix conflicting types error with net_device.

2024-06-25 Thread Teddy Engel
Add a pre-declaration of struct net_device so the compiler is able to use rtl_pci.h / rtl_cam.h. Signed-off-by: Teddy Engel Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202406250858.l8rjmhqm-...@intel.com/ --- drivers/staging/rtl8192e/rtl8192e/rtl_cam.h | 2 ++