# Re: net: rnpgbe: Pass an expression directly in rnpgbe\_rm\_adapter()

- From: Markus Elfring \<hidden\>
- Date: 2026-07-15 05:28:36 
- List: netdev
- Page: https://ratatoskr.run/netdev/2026/07/17260825
- Thread: https://ratatoskr.run/netdev/2026/07/17248490/t.md

```text
>> 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
```
