[riot-notifications] [RIOT-OS/RIOT] drivers/at86rf2xx: fix null pointer check (#15824)

Marian Buschsieweke notifications at github.com
Thu Jan 21 10:25:41 CET 2021


### Contribution description

Adapt check to test if argument is NULL *before* using it :-)

### Testing procedure

Not needed, code change is trivial.

### Issues/PRs references

None
You can view, comment on, or merge this pull request online at:

  https://github.com/RIOT-OS/RIOT/pull/15824

-- Commit Summary --

  * drivers/at86rf2xx: fix null pointer check

-- File Changes --

    M drivers/at86rf2xx/at86rf2xx_netdev.c (9)

-- Patch Links --

https://github.com/RIOT-OS/RIOT/pull/15824.patch
https://github.com/RIOT-OS/RIOT/pull/15824.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/15824
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210121/9b52e68f/attachment.htm>


More information about the notifications mailing list