Re: net: rnpgbe: Pass an expression directly in rnpgbe_rm_adapter()

From
Markus Elfring <hidden>
Date
2026-07-15 05:28:36
Also in
kernel-janitors, lkml
Reply to
Andrew Lunn, 2026-07-14
quoted
The address of a data structure member was determined before
a corresponding null pointer check in the implementation of
the function “rnpgbe_rm_adapter”.
Please can you show the path taken that mucse is actually NULL.
The applied sanity check indicates a corresponding possibility.

Which result representations would you find helpful for the requested
data flow analysis?

I tend to agree, that the correct change is to remove the NULL pointer
test.
Will the omission of such a check gain wider acceptance?

Regards,
Markus
Thread (23 messages) 23 messages, 6 authors, last reply 2026-07-17
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help