NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PR/48999 CVS commit: src/sys/external/bsd/drm2/include/linux

The following reply was made to PR kern/48999; it has been noted by GNATS.

From: "Taylor R Campbell" <>
Subject: PR/48999 CVS commit: src/sys/external/bsd/drm2/include/linux
Date: Thu, 17 Jul 2014 14:30:33 +0000

 Module Name:   src
 Committed By:  riastradh
 Date:          Thu Jul 17 14:30:33 UTC 2014
 Modified Files:
        src/sys/external/bsd/drm2/include/linux: atomic.h bitops.h
 Log Message:
 Correct return values of Linux test-and-set operations (PR 48999).
 Linux's Documentation/atomic_ops.txt says in no uncertain terms these
 must return 0 or 1, not zero or nonzero.  I don't think this has
 caused an issue for drm (yet), but better to have it right.
 To generate a diff of this commit:
 cvs rdiff -u -r1.6 -r1.7 src/sys/external/bsd/drm2/include/linux/atomic.h
 cvs rdiff -u -r1.5 -r1.6 src/sys/external/bsd/drm2/include/linux/bitops.h
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index