Re: net: rnpgbe: Pass an expression directly in rnpgbe_rm_adapter()
Markus Elfring <[email protected]> Wed, 15 Jul 2026 07:22:22 +0200
| Newsgroups | gmane.linux.kernel.janitors,gmane.linux.network,gmane.linux.kernel |
|---|---|
| Message-ID | <[email protected]> |
>> 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