<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/sys/dev/hatm, branch release/11.3.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F11.3.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F11.3.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2018-04-08T16:54:07Z</updated>
<entry>
<title>MFC r331797:</title>
<updated>2018-04-08T16:54:07Z</updated>
<author>
<name>Brooks Davis</name>
<email>brooks@FreeBSD.org</email>
</author>
<published>2018-04-08T16:54:07Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=be53904b8dac7d13270889f581d6d3b29d365dc7'/>
<id>urn:sha1:be53904b8dac7d13270889f581d6d3b29d365dc7</id>
<content type='text'>
Use an accessor function to access ifr_data.

This fixes 32-bit compat (no ioctl command defintions are required
as struct ifreq is the same size).

Reviewed by:	kib
Obtained from:	CheriBSD
Sponsored by:	DARPA, AFRL
Differential Revision:	https://reviews.freebsd.org/D14900
</content>
</entry>
<entry>
<title>sys/dev: minor spelling fixes.</title>
<updated>2016-05-03T03:41:25Z</updated>
<author>
<name>Pedro F. Giffuni</name>
<email>pfg@FreeBSD.org</email>
</author>
<published>2016-05-03T03:41:25Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=453130d9bfc1c6d68b366dfcb041689d69f81295'/>
<id>urn:sha1:453130d9bfc1c6d68b366dfcb041689d69f81295</id>
<content type='text'>
Most affect comments, very few have user-visible effects.
</content>
</entry>
<entry>
<title>sys: use our roundup2/rounddown2() macros when param.h is available.</title>
<updated>2016-04-21T19:57:40Z</updated>
<author>
<name>Pedro F. Giffuni</name>
<email>pfg@FreeBSD.org</email>
</author>
<published>2016-04-21T19:57:40Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=d9c9c81c083a76a65c6cacf8fcbc0511e2ffa489'/>
<id>urn:sha1:d9c9c81c083a76a65c6cacf8fcbc0511e2ffa489</id>
<content type='text'>
rounddown2 tends to produce longer lines than the original code
and when the code has a high indentation level it was not really
advantageous to do the replacement.

This tries to strike a balance between readability using the macros
and flexibility of having the expressions, so not everything is
converted.
</content>
</entry>
<entry>
<title>sys/dev: use our nitems() macro when it is avaliable through param.h.</title>
<updated>2016-04-19T23:37:24Z</updated>
<author>
<name>Pedro F. Giffuni</name>
<email>pfg@FreeBSD.org</email>
</author>
<published>2016-04-19T23:37:24Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=73a1170a8c41cb848f17cc0a8839e9dcee3d126e'/>
<id>urn:sha1:73a1170a8c41cb848f17cc0a8839e9dcee3d126e</id>
<content type='text'>
No functional change, only trivial cases are done in this sweep,
Drivers that can get further enhancements will be done independently.

Discussed in:	freebsd-current
</content>
</entry>
<entry>
<title>Fix multiple incorrect SYSCTL arguments in the kernel:</title>
<updated>2014-10-21T07:31:21Z</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2014-10-21T07:31:21Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=f0188618f2abe08246731cf09b0b0a99609fd34c'/>
<id>urn:sha1:f0188618f2abe08246731cf09b0b0a99609fd34c</id>
<content type='text'>
- Wrong integer type was specified.

- Wrong or missing "access" specifier. The "access" specifier
sometimes included the SYSCTL type, which it should not, except for
procedural SYSCTL nodes.

- Logical OR where binary OR was expected.

- Properly assert the "access" argument passed to all SYSCTL macros,
using the CTASSERT macro. This applies to both static- and dynamically
created SYSCTLs.

- Properly assert the the data type for both static and dynamic
SYSCTLs. In the case of static SYSCTLs we only assert that the data
pointed to by the SYSCTL data pointer has the correct size, hence
there is no easy way to assert types in the C language outside a
C-function.

- Rewrote some code which doesn't pass a constant "access" specifier
when creating dynamic SYSCTL nodes, which is now a requirement.

- Updated "EXAMPLES" section in SYSCTL manual page.

MFC after:	3 days
Sponsored by:	Mellanox Technologies
</content>
</entry>
<entry>
<title>Follow up to r225617. In order to maximize the re-usability of kernel code</title>
<updated>2014-10-16T18:04:43Z</updated>
<author>
<name>Davide Italiano</name>
<email>davide@FreeBSD.org</email>
</author>
<published>2014-10-16T18:04:43Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=2be111bf7dda0f18d645f0e201b6555bbe3da1ac'/>
<id>urn:sha1:2be111bf7dda0f18d645f0e201b6555bbe3da1ac</id>
<content type='text'>
in userland rename in-kernel getenv()/setenv() to kern_setenv()/kern_getenv().
This fixes a namespace collision with libc symbols.

Submitted by:   kmacy
Tested by:      make universe
</content>
</entry>
<entry>
<title>Mechanically convert to if_inc_counter().</title>
<updated>2014-09-19T03:51:26Z</updated>
<author>
<name>Gleb Smirnoff</name>
<email>glebius@FreeBSD.org</email>
</author>
<published>2014-09-19T03:51:26Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=c8dfaf382fa6df9dc6fd1e1c3356e0c8bf607e6a'/>
<id>urn:sha1:c8dfaf382fa6df9dc6fd1e1c3356e0c8bf607e6a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix style bug: rename the refcount field of m_ext to ext_cnt, to match</title>
<updated>2014-07-11T14:34:29Z</updated>
<author>
<name>Gleb Smirnoff</name>
<email>glebius@FreeBSD.org</email>
</author>
<published>2014-07-11T14:34:29Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=fcc34a238c98d30088284e1090fce1bad4409de9'/>
<id>urn:sha1:fcc34a238c98d30088284e1090fce1bad4409de9</id>
<content type='text'>
other members.

Sponsored by:	Nginx, Inc.
</content>
</entry>
<entry>
<title>All mbuf external free functions never fail, so let them be void.</title>
<updated>2014-07-11T13:58:48Z</updated>
<author>
<name>Gleb Smirnoff</name>
<email>glebius@FreeBSD.org</email>
</author>
<published>2014-07-11T13:58:48Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=15c28f87b8e2f80dfed9581d51e21c026716af6c'/>
<id>urn:sha1:15c28f87b8e2f80dfed9581d51e21c026716af6c</id>
<content type='text'>
Sponsored by:	Nginx, Inc.
</content>
</entry>
<entry>
<title>Fix undefined behavior: (1 &lt;&lt; 31) is not defined as 1 is an int and this</title>
<updated>2013-11-30T22:17:27Z</updated>
<author>
<name>Eitan Adler</name>
<email>eadler@FreeBSD.org</email>
</author>
<published>2013-11-30T22:17:27Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=7a22215c5346c9009d1dfa4d3c118ff99f89d184'/>
<id>urn:sha1:7a22215c5346c9009d1dfa4d3c118ff99f89d184</id>
<content type='text'>
shifts into the sign bit.  Instead use (1U &lt;&lt; 31) which gets the
expected result.

This fix is not ideal as it assumes a 32 bit int, but does fix the issue
for most cases.

A similar change was made in OpenBSD.

Discussed with:	-arch, rdivacky
Reviewed by:	cperciva
</content>
</entry>
</feed>
