Rickard Strandqvist writes:
> Unusual declaration of a while loop.
> However, believe you also want to make sure that the pointer is not NULL
Not really. The code is meant to do exactly what it currently does -
set variable desc and then check desc->stat.
All rx_descs are at this point already i
Unusual declaration of a while loop.
However, believe you also want to make sure that the pointer is not NULL
This was partly found using a static code analysis program called cppcheck.
Signed-off-by: Rickard Strandqvist
---
drivers/net/wan/wanxl.c |2 +-
1 file changed, 1 insertion(+), 1 d
2 matches
Mail list logo