Commit Graph

289409 Commits

Author SHA1 Message Date
andvar 6601a363d8 s/beween/between/ 2021-08-12 19:15:15 +00:00
martin 395ca384d5 add directory for debug data for mkdep tests 2021-08-12 15:06:39 +00:00
martin dcbf5445d1 h_findcc.debug is not obsolete 2021-08-12 13:27:42 +00:00
martin e7d4773f7a oops, fix h_findcc entry 2021-08-12 12:51:25 +00:00
martin 462143732b Add new mkdep test helper h_findcc 2021-08-12 11:57:07 +00:00
martin 80f935560b Add directory for new mkdep test binaries 2021-08-12 11:50:42 +00:00
martin 38248942cf PR 56354: all actions to set up swap space are not guaranteed to gain
us enough virtual memory anyway, so drop return codes from set_swap*.
The state for cleanup (which swap dev to unuse) has been made global
some time ago anyway.

Previously use of the return values was inconsistent. Error reporting
will only confuse users and sometimes the situation is hard to fix or
even impossible (like in miniroots copide to swap space for booting).
2021-08-12 09:33:59 +00:00
maya 2c7aea0851 Fix glamor - don't use stub functions
${LDADD.gbm} seems to be empty - use -lgbm directly (couldn't find a better
fix)
2021-08-11 23:02:39 +00:00
rillig 27aee6b2ec mkdep: document possible undefined behavior
If findcc is called with a constant string, as its prototype suggests,
the process crashes with a segmentation fault.  Luckily, neither mkdep
nor lint do that, but the function prototype is nevertheless confusing.
2021-08-11 20:48:16 +00:00
rillig e91fe367ea tests/mkdep: test findcc
This function is used by both mkdep and lint.
2021-08-11 20:42:26 +00:00
christos fd6562d6eb PR/56355: Brad Harder: dtrace triggers double-fault in supervisor mode 2021-08-11 11:16:49 +00:00
christos 5aee859e4d cast from strchr fixed. 2021-08-11 09:12:07 +00:00
christos 6463100770 use const for strchr assignment. 2021-08-11 09:11:04 +00:00
rillig 83b020ca16 lint: add reminder to sort the output of lint2 2021-08-11 05:37:45 +00:00
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