| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
than doing the checks piecemeal and then doing a second copyin later.
PR: 38021
Submitted by: davidx (I've tweaked the patch a bit)
|
| |
|
|
|
|
| |
with newbus.
|
|
|
|
|
|
|
|
| |
device_t the same throughout kernel.
This is a very fine point of C which fortunatly does not make any
difference in normal circumstances but which due to the pervasiveness
of device_t in the kernel can make a lint barf a lot.
|
|
|
|
|
|
| |
Spotte by: FlexeLint
Reviewed by: rwatson
|
| |
|
|
|
|
| |
Spotted by: FlexeLint
|
|
|
|
|
|
| |
<sys/bus_private.h> to find the unit from a device_t.
Spotted by: FlexeLint
|
| |
|
|
|
|
| |
Sponsored by: Bright Path Solutions
|
|
|
|
|
|
|
|
|
|
| |
in compat.c which doesn't even have preprocessor-conditional-hidden support
code, and add a debugging statement where we might end up with a nil list
somehow, but where I doubt it.
First confirmed userland kill for Flexelint.
Sponsored by: Bright Path Solutions
|
|
|
|
|
|
|
| |
failing to do this may lead mtx_init() to belive they have already
been initialized.
Detected by: Marc Recht <marc@informatik.uni-bremen.de>
|
|
|
|
|
| |
PR: 38016
Submitted by: davidx
|
| |
|
|
|
|
|
|
|
| |
to include a newline.
MFC after: 4 days
Sponsored by: Bright Path Solutions
|
| |
|
|
|
|
|
| |
Reviewed by: jdp
MFC after: 1 week
|
| |
|
|
|
|
|
| |
Clarify the intention of a while();
Move a local variable to avoid potential name-confusion.
|
| |
|
|
|
|
| |
Submitted by: Michael Ranner
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
static in its prototype, mark it static at the definition too.
Inspired by: FlexeLint warning #512
|
|
|
|
|
|
|
|
| |
to gid conversion).
PR: 43455
Submitted by: n-kogane@syd.odn.ad.jp
X-MFC after: immediately if re@ permits, or after 4.7-RELEASE is out
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Sponsored by: DARPA & NAI Labs.
|
|
|
|
| |
Sponsored by: DARPA & NAI Labs.
|
|
|
|
|
|
| |
Don't use zero-dimension array in struct pargs.
Comma after the last element of an enum doesn't make sense.
|
|
|
|
| |
have specified in the design.
|
|
|
|
|
|
|
| |
of g_clone_bio().
Detected by: http://www.gimpel.com/html/flex.htm
Sponsored by: DARPA & NAI Labs.
|
|
|
|
|
|
| |
Although there was nothing wrong with getwc() and putwc(), getwchar()
and putwchar() assumed that <stdio.h> had been included before <wchar.h>,
which is not allowed by the standard.
|
|
|
|
| |
structure, not the copied section.
|
|
|
|
|
|
| |
we don't use them in termcap already many years.
Add "su" as alias to "dumb" to help login, with comment.
|
|
|
|
| |
better reflect how they are called.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
sparc v9 ABI. The Elf_Rela records for local symbols appear to already
have the symbol's value added in to the addend field, even though the ABI
specifies we need to lookup the symbol and add its value too. This breaks
text relocations in klds because the symbol's value is added twice, and
the resulting address points off into nowhere land, so for now just use
the addend.
Tested by: rwatson
|
|
|
|
|
| |
statement. This ensures that debug code doesn't trigger if
it isn't enabled. <blush>
|
|
|
|
|
|
| |
Fix a couple of reference data which were found to be in error.
Sponsored by: DARPA & NAI Labs.
|
|
|
|
|
|
| |
on the Argosy SP-320 dual-port async PCcard.
An amazing piece of hardware seen from an ISO9000 point of view.
|
| |
|
|
|
|
|
|
|
| |
The advanced stage of computer assisted hardware design and
verification is aptly illustrated by the fact that this is necessary
because only the first ports in a single-chip, dual-port async
PC-Card product lacks this register.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
that this will make people use this for their future copy&paste operations.
Rework the detection of raw-disk offsets in disklabels. This actually
unearthed a number of bugs in the (now) previous version.
Also accept labels which don't have a magic RAW_PART, provided they don't
confuse us too much.
Change the order of our sanity-checks on labels found on disks to be more
robust.
Check against MAXPARTITIONS in our sanity-check and reject disklabels
we cannot cope with.
Create new g_bsd_modify() function to implment disklabel modifying
ioctls.
Implement DIOCSDINFO and DIOCWDINFO with the provision that the latter
still not writes your change back to disk. I didn't have the nerves
for that yet.
In the start routine, use g_call_me() for complex ioctls to prevent
sleeping.
Sponsored by: DARPA & NAI Labs.
|