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
F110343809: D5894.diff
Mon, Feb 17, 2:52 AM
Unknown Object (File)
Mon, Jan 20, 11:07 PM
Unknown Object (File)
Jan 17 2025, 4:49 PM
Unknown Object (File)
Jan 8 2025, 5:24 AM
Unknown Object (File)
Dec 9 2024, 5:47 AM
Unknown Object (File)
Dec 3 2024, 8:35 PM
Unknown Object (File)
Dec 3 2024, 12:57 AM
Unknown Object (File)
Dec 2 2024, 12:54 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 Skipped
Unit
Tests Skipped

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.