rillig
80321d1c1f
libpam: clean up LINTFLAGS
...
Warning 346 is new, the other suppressions are not needed anymore.
2021-08-11 05:23:05 +00:00
rillig
b28f961044
lint: allow GCC __attribute__ after array brackets
...
GCC accepts this, so should lint. Seen in pam_lastlog.c:115.
2021-08-11 05:19:32 +00:00
andvar
549e6e0de6
s/enrty/entry/
2021-08-11 05:17:48 +00:00
rillig
a8ba6cc958
tests/lint: demonstrate wrong 'syntax error' for unused argument
...
Seen in pam_chroot.c:60.
2021-08-11 05:08:35 +00:00
rillig
36ba98046c
lint: fix 3 of the 4 wrong messages about lvalue in initial assignment
2021-08-10 20:43:12 +00:00
rillig
b2c44b2ba5
lint: remove redundant test for negative bit-field size
...
A bit-field can never have negative size. Its type is an unsigned
integer.
Strangely, GCC 10.3.0 only complains about this if the extra struct
level lint1_type.t_b is removed. Clang 12.0.1 does not complain at all.
2021-08-10 19:52:14 +00:00
rillig
af825770ae
lint: remove redundant function prototypes
2021-08-10 17:57:16 +00:00
rillig
68a37fcc55
lint: clean up comments
2021-08-10 17:31:44 +00:00
jmcneill
cdb9616634
Make gic_splfuncs optional and disable it by default until it has had
...
more testing.
2021-08-10 17:12:31 +00:00
rillig
b647f9cd80
lint: fix documentation of FARG and PUSH
2021-08-10 16:59:28 +00:00
jmcneill
43aab3618a
Enable DVFS
2021-08-10 16:52:43 +00:00
jmcneill
e5243765ea
evbarm: Improvements in interrupt handling on Arm GIC v2 and v3 systems
...
resulting in better network and storage performance.
2021-08-10 16:45:35 +00:00
jmcneill
e6819fd116
Use custom spl funcs for GIC and avoid unnecessary pmr register accesses
...
in splx.
2021-08-10 15:33:09 +00:00
jmcneill
35d903aad5
arm: pic: allow overriding _splraise/_spllower/splx
2021-08-10 15:31:55 +00:00
jmcneill
86f8722c1d
Disable MSI if the linux,pcie-nomsi flag is present
2021-08-10 15:31:38 +00:00
jmcneill
dd1a555973
Clear IFF_OACTIVE in genet_txintr (bug introduced in r1.8) and don't
...
sync DMA maps with size 0.
2021-08-10 15:28:44 +00:00
christos
279d2183d6
PR/56318: Izumi Tsutsui: Don't include mips.S for 32 bit mips because it
...
does not work for mips1
2021-08-10 10:43:42 +00:00
christos
d87c37cc63
PR/56318: Izumi Tsutsui: Limit bn-sparcv8.S to sparc64; breaks
...
on sparcstation 2 (sun4c)
2021-08-10 10:38:42 +00:00
rillig
786885ace1
lint: document the difference between FARG and PUSH
2021-08-10 07:02:00 +00:00
skrll
721b27251d
G/C unused flag
2021-08-10 06:47:48 +00:00
rillig
e769a8dc4e
lint: document operator properties directly at the definition
2021-08-10 06:31:16 +00:00
kardel
8d545fd9de
PR kern/56348
...
MTU discovery fails with IPv6 sockets bound to IPv4 mapped address
pick up the IPv4 route for IPv4 mapped IPv6 address to get the correct
MTU and not any unrelated/inappropriate MTU from IPv6 routes. IPv4 mapped
IPv6 addresses are always handled by the IPv4 stack and MTU discovery
is solely handled with the IPv4 routing table.
2021-08-10 06:29:56 +00:00
andvar
20fff34fc5
s/fist/first/
2021-08-09 21:38:04 +00:00
rillig
7c4c773eea
lint: remove commented-out preprocessor options
...
These have been commented out since 2002.
2021-08-09 21:27:20 +00:00
andvar
8c1462767f
s/alway /always/
2021-08-09 21:20:50 +00:00
andvar
ca503f4587
s/definitons/definitions/
2021-08-09 21:13:05 +00:00
andvar
272cac88dd
s/aligment/alignment/ + one more typo fix in comments.
2021-08-09 21:08:06 +00:00
rillig
ebc8b69916
lint: remove unused pathname
2021-08-09 20:52:24 +00:00
andvar
6584ea569e
fix various typos in compatibility, mainly in comments.
2021-08-09 20:49:08 +00:00
rillig
9cea3ffa32
lint: warn about 'char * = strchr(const char *, int)'
...
Found in findcc.c, there are about 25 other instances of this
incongruency in the whole source tree.
For more examples of functions from the C Standard Library that
implicitly remove the 'const' qualifier from an argument, see the C++
include file 'cstring'.
2021-08-09 20:07:23 +00:00
andvar
d7fca1ab3d
fix typos in asymmetry, asymmetric(al), symmetrical.
2021-08-09 19:57:57 +00:00
andvar
32a556f954
fix various typos in comments and messages.
2021-08-09 19:24:32 +00:00
kre
6a1a2ce2c3
Fix the fix to a typo in one of the comments.
2021-08-09 11:29:30 +00:00
gson
a016b984d7
Test errno when the return value from wait() indicates an error, not
...
when it indicates success. PR install/56303.
2021-08-09 10:46:39 +00:00
thorpej
925e6da6b6
Fix CVS eff-up.
2021-08-09 04:06:21 +00:00
thorpej
cbb54e7dae
thorpej-i2c-spi-conf -> thorpej-i2c-spi-conf2.
2021-08-09 00:32:51 +00:00
thorpej
8ee5242d92
Port over the changes from thorpej-i2c-spi-conf to thorpej-i2c-spi-conf2,
...
which is based on a newer HEAD revision.
2021-08-09 00:30:08 +00:00
rin
9c8bf6ee9d
Fix LIST operations, found by strictly-aligned CPUs, i.e., ARMv5 and IBM403:
...
- Initialize LIST_HEAD.
- Use LIST_FOREACH_SAFE() where necessary.
2021-08-08 22:26:32 +00:00
andvar
db383f4739
s/partion/partition/ s/arrray/array/ in comments.
2021-08-08 21:50:10 +00:00
andvar
2d60d84a8c
s/arry/array/
2021-08-08 21:45:53 +00:00
andvar
6458a9af4a
s/propely/properly/
2021-08-08 20:57:09 +00:00
nia
f96b5061e9
perfused: use SOL_LOCAL
2021-08-08 20:56:54 +00:00
uwe
3934175656
Add ddbping example module to SUBDIR list.
2021-08-08 20:55:33 +00:00
nia
213aa76def
introduce a SOL_LOCAL for unix-domain socket level socket options
...
as an alias of the current 0 used for these options, as in FreeBSD.
reviewed by many.
2021-08-08 20:54:48 +00:00
andvar
f1229b5389
s/varable/variable s/explictly/explicitly/ s/proerly/properly/ in comments.
2021-08-08 20:50:12 +00:00
skrll
7763cb672f
Re-apply
...
Move 'struct pic_pending' from percpu to struct cpu_info. Saves a few
instructions in splx.
There is(/was) no need to use atomic operations on the percpu / cpu_info
members, so don't.
Finally removng the use of percpu should help avoid problems with "late"
attaching cpus.
2021-08-08 19:28:08 +00:00
jmcneill
9a250646b6
Adjust register base and size
2021-08-08 18:55:12 +00:00
jmcneill
5eb739235d
broadcom: ACPI: Add support for mini UART in ACPI mode.
2021-08-08 18:43:21 +00:00
wiz
a2b7bc982b
Fix Dd argument.
2021-08-08 16:53:53 +00:00
rillig
c95069d627
tests/lint: include but don't run read_lp64 on 32-bit platforms
...
The lint1 tests are all in the machine-independent file list, which
makes it easier to manage them. At run time, some of them are skipped
based on platform characteristics. Do the same for the lint2 tests.
Having the lint2 test named read_lp64 as the only machine-dependent test
would complicate things.
The build for i386 had failed because the files for read_lp64 were
listed in distrib/sets/lists/tests/mi but were not actually installed.
2021-08-08 16:35:15 +00:00