freebsd-skq/sys/dev/xen
Hans Petter Selasky f0188618f2 Fix multiple incorrect SYSCTL arguments in the kernel:
- 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
2014-10-21 07:31:21 +00:00
..
balloon xen/balloon: fix accounting of current memory pages on PVH 2014-09-30 17:38:21 +00:00
blkback xen: fix blkback pushing responses before releasing internal resources 2014-09-30 17:41:16 +00:00
blkfront Revert r269814: blkfront: add support for unmapped IO 2014-09-04 14:56:24 +00:00
console xen: Dom0 console fixes 2014-08-04 09:02:49 +00:00
control xen: unify gnttab initialization for PVHVM and PVH 2014-06-16 08:48:42 +00:00
netback Mechanically convert to if_inc_counter(). 2014-09-19 03:51:26 +00:00
netfront Fix multiple incorrect SYSCTL arguments in the kernel: 2014-10-21 07:31:21 +00:00
pcifront
pvcpu xen: add missing files 2014-06-16 08:54:04 +00:00
timer xen: introduce xenpv bus 2014-06-16 08:44:33 +00:00
xenpci xen: unify gnttab initialization for PVHVM and PVH 2014-06-16 08:48:42 +00:00
xenstore xen: add xenstored user-space device 2014-09-30 17:37:26 +00:00