Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Dec 2024 21:23:54 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 283272] Use NULL instead of zero for pointers
Message-ID:  <bug-283272-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D283272

            Bug ID: 283272
           Summary: Use NULL instead of zero for pointers
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: pfg@FreeBSD.org

Created attachment 255791
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D255791&action=
=3Dedit
patch for sys

I ran an old semantic patch with coccinelle and came up with some places th=
at
should be using NULL instead of 0 to improve readability.

This was tested by building Universe (only ARM v7 appears broken due to an
unrelated issue, also seen in Jenkins).

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-283272-227>