Page MenuHomeFreeBSD

Replace zero with NULL for pointers in ixl driver
ClosedPublic

Authored by pfg on Apr 9 2016, 5:11 PM.
Tags
None
Referenced Files
Unknown Object (File)
Jan 13 2024, 7:22 PM
Unknown Object (File)
Dec 11 2023, 10:43 AM
Unknown Object (File)
Oct 4 2023, 1:55 AM
Unknown Object (File)
Aug 3 2023, 2:38 AM
Unknown Object (File)
Aug 2 2023, 9:41 AM
Unknown Object (File)
Jul 16 2023, 6:51 AM
Unknown Object (File)
Jul 6 2023, 11:51 AM
Unknown Object (File)
Apr 11 2017, 8:13 AM
Subscribers

Details

Summary

I have been playing with coccinelle (http://coccinelle.lip6.fr/), and it found some cases where 0 is being used and we should be using NULL instead.
I have many more changes, this only cover the ones in sys/dev/ixl

Test Plan

This doesn't break the build.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

pfg retitled this revision from to Replace zero with NULL for pointers in ixl driver.
pfg updated this object.
pfg edited the test plan for this revision. (Show Details)
pfg added a reviewer: erj.
pfg set the repository for this revision to rS FreeBSD src repository - subversion.
erj edited edge metadata.

Looks completely valid to me.

This revision is now accepted and ready to land.Apr 9 2016, 5:28 PM
This revision was automatically updated to reflect the committed changes.