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)
Wed, Nov 6, 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
Unknown Object (File)
Sep 19 2024, 8:24 AM
Unknown Object (File)
Sep 8 2024, 7:34 AM
Unknown Object (File)
Sep 8 2024, 6:53 AM
Unknown Object (File)
Sep 8 2024, 12:23 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.