Messages in this thread | | | Date | Mon, 13 Nov 2023 01:48:14 +0530 | Subject | Re: [PATCH v4] Fixing directly deferencing a __rcu pointer warning | From | Abhinav Singh <> |
| |
On 11/13/23 01:28, Peter Zijlstra wrote: > On Mon, Nov 13, 2023 at 01:00:55AM +0530, Abhinav Singh wrote: >> This patch fixes the sparse warning with this message >> "dereference of noderef expression" , in this context >> it means about directly dereferencing a pointer tagged >> with __rcu annotation. > > Please, stop this madness. Just accept that sparse is a stupid tool and > the code is actually fine.
Thank you for your tine maintainers. Okay I understood that this extra patch, is not required. Just one follow up question, in some driver code as well I see these warning, might be possible those are real issue. Can you suggest me like how do I know if a rcu related warning is really a issue or just a false positive warning.
Thanks, Abhinav.
| |