trasz
b8b0cac823
Fix whitespace; no functional changes.
...
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
2018-05-19 15:18:15 +00:00
trasz
529f8089e8
Add #defines for vendor/product USB IDs. No functional changes.
...
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
2018-05-19 15:11:24 +00:00
emaste
4c75e41c26
Remove duplicate cap_no_rights from r333874
...
Archs using in-tree gcc were broken with `warning: redundant
redeclaration of 'cap_no_rights' [-Wredundant-decls]`.
Sponsored by: The FreeBSD Foundation
2018-05-19 11:37:02 +00:00
trasz
fa1fe9de3c
Permit "(", ")", ":", and "/" in USB string descriptors.
...
This way we can properly show descriptors with URLs in them.
Reviewed by: hselasky@
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
2018-05-19 10:49:51 +00:00
mmacy
d365279c38
Unbreak BeagleBone Black boot by collapsing 29 SYSINITs in to 1
...
Reported by: ilya at bakulin.de
2018-05-19 07:31:35 +00:00
mmacy
36a5772d1a
intr unbreak KTR/LINT build
2018-05-19 07:04:43 +00:00
mmacy
f437b75cf6
pmap: silence warnings
2018-05-19 05:58:05 +00:00
mmacy
9014fcaa8a
netmap and iflib drivers, silence unused var warnings
2018-05-19 05:57:26 +00:00
mmacy
02971321ff
netinet silence warnings
2018-05-19 05:56:21 +00:00
mmacy
d6172458e9
tcp sysctl fix may be uninitialized
2018-05-19 05:55:31 +00:00
mmacy
11ed7bdd8d
tcp fastopen: fix may be uninitialized
2018-05-19 05:55:00 +00:00
mmacy
20798cced4
AF_UNIX: switch to annotations to avoid warnings
2018-05-19 05:37:58 +00:00
mmacy
23ede0cc2e
netmap: compare e1 with e2, not with itself
2018-05-19 05:37:18 +00:00
mmacy
0db6398617
net: fix set but not used
2018-05-19 05:27:49 +00:00
mmacy
3886da5a93
capsicum: propagate const correctness
2018-05-19 05:14:05 +00:00
mmacy
b862678077
back out DBGSET macro
2018-05-19 05:12:57 +00:00
mmacy
680fe8339d
intr: eliminate / annotate unused stack locals
2018-05-19 05:12:18 +00:00
mmacy
dac24b3417
sendfile: annotate unused value and ensure that npages is actually initialized
2018-05-19 05:10:51 +00:00
mmacy
a029bbc5e5
umtx: don't call umtxq_getchain unless the value is needed
2018-05-19 05:09:10 +00:00
mmacy
5eda5d6711
cpuset: revert and annotate instead
2018-05-19 05:07:31 +00:00
mmacy
861014e26c
conf: revert last change and annotate unused var instead
2018-05-19 05:07:03 +00:00
mmacy
56410d49b1
kevent: annotate unused stack local
2018-05-19 05:06:18 +00:00
mmacy
c78ee89370
lockf: annotate LOCKF_DEBUG only var
2018-05-19 05:04:38 +00:00
mmacy
aac0792101
capsicum: annotate variable only used by debug
2018-05-19 05:02:40 +00:00
mmacy
63ce31f3b1
turnstile / sleepqueue: annotate variables only used by debug builds
2018-05-19 05:00:16 +00:00
mmacy
4eacc08586
vfs: annotate variables only used by debug builds as __unused
2018-05-19 04:59:39 +00:00
jhibbits
c6cca6917f
Add SPR_HSRR0/SPR_HSRR1 definitions
...
Reported by: Mark Millard
Pointy-hat to: jhibbits
2018-05-19 04:56:10 +00:00
mmacy
214cb70c1a
tty: use __unused annotation instead to silence warnings
2018-05-19 04:48:26 +00:00
mmacy
ace81143fd
epoch: avoid warning when INVARIANTS is not enabled
2018-05-19 04:47:34 +00:00
mmacy
b2201d4e88
disable set but not used on code that can't be changed
2018-05-19 04:46:34 +00:00
mmacy
366f674ab5
malloc: avoid possibly returning stack garbage if MALLOC_DEBUG is defined
2018-05-19 04:43:49 +00:00
jhibbits
96915338d5
Add hypervisor trap handling, using HSRR0/HSRR1
...
Summary:
Some hypervisor exceptions on POWER architecture only save state to HSRR0/HSRR1.
Until we have bhyve on POWER, use a lightweight exception frontend which copies
HSRR0/HSRR1 into SRR0/SRR1, and run the normal trap handler.
The first user of this is the Hypervisor Virtualization Interrupt, which targets
the XIVE interrupt controller on POWER9.
Reviewed By: nwhitehorn
Differential Revision: https://reviews.freebsd.org/D15487
2018-05-19 04:21:50 +00:00
mmacy
a42e239a05
cpuset_thread0: avoid unused assignment on non debug build
2018-05-19 04:14:00 +00:00
mmacy
07e1c3def4
make_dev: avoid unused assignments on non debug builds
2018-05-19 04:13:20 +00:00
mmacy
77a3ff4fe0
mqueue: avoid unused variables
2018-05-19 04:10:53 +00:00
mmacy
71ee67e907
physio: avoid uninitialized variables
2018-05-19 04:09:58 +00:00
mmacy
0cad561f8c
cache_lookup remove unused variable and initialize used
2018-05-19 04:08:11 +00:00
mmacy
e1c41612d0
filt_timerdetach: only assign to old if we're going to check it in
...
a KASSERT
2018-05-19 04:07:00 +00:00
mmacy
ae3e2f4e32
getnextevent: put variable only used by KTR under ifdef KTR
2018-05-19 04:05:36 +00:00
mmacy
1edae3372d
simplify control flow so that gcc knows we never pass save to curthread_pflags_restore
...
without initializing
2018-05-19 04:04:44 +00:00
mmacy
3b202e89e0
tty: conditionally assign to ret value only used by MPASS statement
2018-05-19 04:02:29 +00:00
jhibbits
d02acb9927
powerpc64: Add OPAL definitions
...
Summary:
Add additional OPAL PCI definitions and expand the code to use them in order to
ease the OPAL interface process for new comers.
These definitions came directly from the OPAL code and they are the same for
both PHB3 (POWER8) and PHB4 (POWER9).
Submitted by: Breno Leitao
Differential Revision: https://reviews.freebsd.org/D15432
2018-05-19 04:01:15 +00:00
mmacy
130d8ea8de
remove unused locked variable in lockmgr_unlock_fast_path
2018-05-19 03:58:40 +00:00
mmacy
ac52916f52
signotify: don't create a stack local that isn't used on non-debug builds
2018-05-19 03:57:41 +00:00
mmacy
1a9d954f7e
sysv_msg initialize saved_msgsz
2018-05-19 03:56:39 +00:00
mmacy
9adfff2b18
remove unused variable
2018-05-19 03:55:42 +00:00
mmacy
0c8764214e
fix uninitialized variable warning in reader locks
2018-05-19 03:52:55 +00:00
mmacy
35c4eb3fff
add DBGSET macro to conditionally assign to a variable depending on INVARIANTS
2018-05-19 03:50:29 +00:00
mmacy
350f657795
fix uninitialized variable warning
2018-05-19 03:49:36 +00:00
mmacy
dcf6fa9422
sys_process.c fix set but not used warning
2018-05-19 03:48:35 +00:00