[PATCH v3 2/8] staging: qlge: Initialize devlink health dump framework

2020-10-16 Thread Coiby Xu
Initialize devlink health dump framework for the qlge driver so the coredump could be done via devlink. struct qlge_adapter is now used as the private data structure of struct devlink so it could exist independently of struct net_device and devlink reload could be supported in the future. The priv

Re: [PATCH v3 2/8] staging: qlge: Initialize devlink health dump framework

2020-10-20 Thread Shung-Hsi Yu
Hi, This patch trigger the following KASAN error inside qlge_init_device(). [...] general protection fault, probably for non-canonical address 0xdc4b: [#1] SMP DEBUG_PAGEALLOC KASAN PTI [...] KASAN: null-ptr-deref in range [0x0258-0x025f] [...] CPU: 0 PID

Re: [PATCH v3 2/8] staging: qlge: Initialize devlink health dump framework

2020-10-20 Thread Shung-Hsi Yu
On Tue, Oct 20, 2020 at 04:57:11PM +0800, Shung-Hsi Yu wrote: > Hi, > > This patch trigger the following KASAN error inside qlge_init_device(). > > [...] general protection fault, probably for non-canonical address > 0xdc4b: [#1] SMP DEBUG_PAGEALLOC KASAN PTI > [...] KASAN: null

Re: [PATCH v3 2/8] staging: qlge: Initialize devlink health dump framework

2020-10-20 Thread Coiby Xu
Hi, Thank you for testing this patch! On Tue, Oct 20, 2020 at 06:27:41PM +0800, Shung-Hsi Yu wrote: On Tue, Oct 20, 2020 at 04:57:11PM +0800, Shung-Hsi Yu wrote: Hi, This patch trigger the following KASAN error inside qlge_init_device(). [...] general protection fault, probably for non-canon