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

Marian Buschsieweke notifications at github.com
Thu Jan 21 12:24:45 CET 2021


# Backport of #15824

### 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/15826

-- 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/15826.patch
https://github.com/RIOT-OS/RIOT/pull/15826.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/15826
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210121/b5744957/attachment.htm>


More information about the notifications mailing list