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)
Mon, Dec 9, 5:47 AM
Unknown Object (File)
Tue, Dec 3, 8:35 PM
Unknown Object (File)
Tue, Dec 3, 12:57 AM
Unknown Object (File)
Mon, Dec 2, 12:54 AM
Unknown Object (File)
Nov 6 2024, 8:41 AM
Unknown Object (File)
Sep 26 2024, 12:54 PM
Unknown Object (File)
Sep 23 2024, 3:39 AM
Unknown Object (File)
Sep 22 2024, 2:25 PM
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.