Author: ak (ports committer)
Date: Thu Aug 3 07:00:55 2017
New Revision: 321974
URL: https://svnweb.freebsd.org/changeset/base/321974
Log:
Add entry to the calendar
Requested by: mckusick
Modified:
head/usr.bin/calendar/calendars/calendar.freebsd
Modified: head/usr.bin/calendar/calenda
Author: mav
Date: Thu Aug 3 07:17:41 2017
New Revision: 321975
URL: https://svnweb.freebsd.org/changeset/base/321975
Log:
MFC r321620: Fix singular/plural "users" output.
It was broken during libxo'fication.
PR: 221039
Submitted by: timur@
Modified:
stable/11/usr.bin/w/
Author: mav
Date: Thu Aug 3 07:20:19 2017
New Revision: 321976
URL: https://svnweb.freebsd.org/changeset/base/321976
Log:
MFC r321606: adaasync(): Set ADA_STATE_WCACHE based on ADA_FLAG_CAN_WCACHE
The attached patch lets adaasync() set ADA_STATE_WCACHE based on
ADA_FLAG_CAN_WCACHE instea
Author: kib
Date: Thu Aug 3 07:28:54 2017
New Revision: 321977
URL: https://svnweb.freebsd.org/changeset/base/321977
Log:
MFC r321625:
Make the number of children for pctrie node available outside subr_pctrie.c.
Modified:
stable/11/sys/kern/subr_pctrie.c
stable/11/sys/sys/pctrie.h
Direct
Author: kib
Date: Thu Aug 3 07:30:35 2017
New Revision: 321978
URL: https://svnweb.freebsd.org/changeset/base/321978
Log:
MFC r321627:
Make it possible to request nosys logging to console.
Modified:
stable/11/sys/kern/kern_sig.c
Directory Properties:
stable/11/ (props changed)
Modifie
Author: remko
Date: Thu Aug 3 07:42:08 2017
New Revision: 321979
URL: https://svnweb.freebsd.org/changeset/base/321979
Log:
Update the entry for postmaster@
Reviewed by: dhw
Modified:
head/share/misc/organization.dot
Modified: head/share/misc/organization.dot
=
Author: hselasky
Date: Thu Aug 3 07:50:46 2017
New Revision: 321980
URL: https://svnweb.freebsd.org/changeset/base/321980
Log:
MFC r321722:
Properly range check length of parsed information elements in RSU driver.
Found by: Ilja van Sprundel
Sponsored by: Mellanox
Author: hselasky
Date: Thu Aug 3 07:56:39 2017
New Revision: 321981
URL: https://svnweb.freebsd.org/changeset/base/321981
Log:
MFC r321722:
Properly range check length of parsed information elements in RSU driver.
Found by: Ilja van Sprundel
Sponsored by: Mellanox
On Thu, Aug 03, 2017 at 01:21:56PM +1000, Bruce Evans wrote:
> It would be better to remove the comments.
>
> makedev() actually has a man page (a FreeBSD addition makedev(3)).
> This could have been better, and is now out of date. The largest error
> is that major() is still documented to return
Author: hselasky
Date: Thu Aug 3 08:03:22 2017
New Revision: 321982
URL: https://svnweb.freebsd.org/changeset/base/321982
Log:
Add myself to the calendar.
Requested by: mckusick
Modified:
head/usr.bin/calendar/calendars/calendar.freebsd
Modified: head/usr.bin/calendar/calendars/calenda
On 08/03/17 09:57, Konstantin Belousov wrote:
.Xr mknod 2 ,
Should mknod be removed from base or stubbed in light of the more recent
devfs ?
--HPS
___
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To
On Thu, Aug 03, 2017 at 10:02:48AM +0200, Hans Petter Selasky wrote:
> On 08/03/17 09:57, Konstantin Belousov wrote:
> > .Xr mknod 2 ,
>
> Should mknod be removed from base or stubbed in light of the more recent
> devfs ?
mknod is used on devfs as a way to 'undelete' devfs node. You may do
On Thu, 3 Aug 2017, Ngie Cooper wrote:
Log:
Fix the return types for printf and putchar to match their libc and
POSIX equivalents
Both printf and putchar return int, not void.
This will allow code that leverages the libcalls and checks/rely on the
return type to interchangeably between lo
Author: hselasky
Date: Thu Aug 3 09:11:51 2017
New Revision: 321983
URL: https://svnweb.freebsd.org/changeset/base/321983
Log:
Using GFP_ATOMIC with firmware commands is not supported after busdma was
introduced in the mlx5core, because busdma might sleep when loading memory
into DMA.
Author: hselasky
Date: Thu Aug 3 09:14:43 2017
New Revision: 321984
URL: https://svnweb.freebsd.org/changeset/base/321984
Log:
Resolve locking issue for non-sleepable context in the mlx5core.
Code inspection reveals the busdma unload and free functions
do not write to the belonging dma t
Author: hselasky
Date: Thu Aug 3 09:18:25 2017
New Revision: 321985
URL: https://svnweb.freebsd.org/changeset/base/321985
Log:
Ticks are 32-bit in FreeBSD.
MFC after:3 days
Sponsored by: Mellanox Technologies
Modified:
head/sys/ofed/drivers/infiniband/core/addr.c
Modified: head/s
Author: hselasky
Date: Thu Aug 3 09:31:10 2017
New Revision: 321986
URL: https://svnweb.freebsd.org/changeset/base/321986
Log:
Change reject message type when destroying cm_id in ibore.
This patch fixes an interopability issue between FreeBSD and non-FreeBSD
systems when the connection e
On Thu, 3 Aug 2017, Konstantin Belousov wrote:
On Thu, Aug 03, 2017 at 01:21:56PM +1000, Bruce Evans wrote:
It would be better to remove the comments.
makedev() actually has a man page (a FreeBSD addition makedev(3)).
This could have been better, and is now out of date. The largest error
is t
Author: des
Date: Thu Aug 3 10:10:20 2017
New Revision: 321987
URL: https://svnweb.freebsd.org/changeset/base/321987
Log:
Vendor import of OpenSSH 7.5p1.
Added:
vendor-crypto/openssh/dist/regress/unittests/conversion/
vendor-crypto/openssh/dist/regress/unittests/conversion/Makefile (cont
Author: des
Date: Thu Aug 3 10:11:06 2017
New Revision: 321988
URL: https://svnweb.freebsd.org/changeset/base/321988
Log:
Tag OpenSSH 7.5p1.
Added:
vendor-crypto/openssh/7.5p1/
- copied from r321987, vendor-crypto/openssh/dist/
___
svn-src-all
2017-08-03 7:27 GMT+02:00 Ngie Cooper :
> Modified: head/sys/boot/arm/at91/libat91/printf.c
> ==
> --- head/sys/boot/arm/at91/libat91/printf.c Thu Aug 3 03:45:48 2017
> (r321968)
> +++ head/sys/boot/arm/at91/li
On Thu, Aug 03, 2017 at 07:34:56PM +1000, Bruce Evans wrote:
> I see another problem. Masking with 0xf and casting to unsigned
> are gratuitously different spellings for extracting the low 32 bits.
> I prefer the cast.
Below is one more update. I reformulated the man page text, but not t
> On Aug 3, 2017, at 04:48, Ed Schouten wrote:
>
> 2017-08-03 7:27 GMT+02:00 Ngie Cooper :
>> Modified: head/sys/boot/arm/at91/libat91/printf.c
>> ==
>> --- head/sys/boot/arm/at91/libat91/printf.c Thu Aug 3 03:45:48
On Thu, Aug 03, 2017 at 05:53:43PM +1000, Bruce Evans wrote:
> Freestanding versions (static and otherwise) cause problems with builtins.
> -ffreestanding turns off all builtins. The static memcpy used to be
> ifdefed so as to use __builtin_memcpy instead of the static one if the
> compiler is gcc
> On Aug 3, 2017, at 00:53, Bruce Evans wrote:
>
> On Thu, 3 Aug 2017, Ngie Cooper wrote:
>
>> Log:
>> Fix the return types for printf and putchar to match their libc and
>> POSIX equivalents
>>
>> Both printf and putchar return int, not void.
>>
>> This will allow code that leverages the lib
Author: loos
Date: Thu Aug 3 13:26:51 2017
New Revision: 321989
URL: https://svnweb.freebsd.org/changeset/base/321989
Log:
Add myself to the calendar.freebsd.
Reported by: mckusick
Modified:
head/usr.bin/calendar/calendars/calendar.freebsd
Modified: head/usr.bin/calendar/calendars/cal
Author: hselasky
Date: Thu Aug 3 13:45:26 2017
New Revision: 321990
URL: https://svnweb.freebsd.org/changeset/base/321990
Log:
MFC r320773:
Implement fix for BULK IN-token retry mechanism. When the hardware is
programmed for infinite IN token retry after NAK, the SAF1761
hardware, however
Author: ngie
Date: Thu Aug 3 13:50:46 2017
New Revision: 321991
URL: https://svnweb.freebsd.org/changeset/base/321991
Log:
Revert r321969
My change had good intentions, but the implementation was incorrect:
- printf was returning the number of characters in the format string
plus the
Author: hselasky
Date: Thu Aug 3 13:51:18 2017
New Revision: 321992
URL: https://svnweb.freebsd.org/changeset/base/321992
Log:
MFC r312526:
Update firmware interface structures and definitions adding support
for new features and commands.
Sponsored by: Mellanox Technologies
Mo
Author: hselasky
Date: Thu Aug 3 13:52:39 2017
New Revision: 321993
URL: https://svnweb.freebsd.org/changeset/base/321993
Log:
MFC r312526:
Update firmware interface structures and definitions adding support
for new features and commands.
Sponsored by: Mellanox Technologies
Mo
Author: hselasky
Date: Thu Aug 3 13:55:39 2017
New Revision: 321995
URL: https://svnweb.freebsd.org/changeset/base/321995
Log:
MFC r312527:
Add runtime support for modifying the SQ and RQ completion event
moderation mode. The presence of this feature is indicated through the
firmware capa
Author: hselasky
Date: Thu Aug 3 13:57:17 2017
New Revision: 321996
URL: https://svnweb.freebsd.org/changeset/base/321996
Log:
MFC r312527:
Add runtime support for modifying the SQ and RQ completion event
moderation mode. The presence of this feature is indicated through the
firmware capa
Author: hselasky
Date: Thu Aug 3 14:00:26 2017
New Revision: 321997
URL: https://svnweb.freebsd.org/changeset/base/321997
Log:
MFC r312528:
Make draining a sendqueue more robust.
Add own state variable to track if a sendqueue is stopped or not.
This will prevent traffic from entering t
Author: hselasky
Date: Thu Aug 3 14:01:25 2017
New Revision: 321998
URL: https://svnweb.freebsd.org/changeset/base/321998
Log:
MFC r312528:
Make draining a sendqueue more robust.
Add own state variable to track if a sendqueue is stopped or not.
This will prevent traffic from entering t
Author: hselasky
Date: Thu Aug 3 14:03:48 2017
New Revision: 321999
URL: https://svnweb.freebsd.org/changeset/base/321999
Log:
MFC r312536:
Allow transmit packet bufring in software to be disabled.
- Add new sysctl node to control the transmit packet bufring.
- Add optimised version
Author: hselasky
Date: Thu Aug 3 14:05:03 2017
New Revision: 322000
URL: https://svnweb.freebsd.org/changeset/base/322000
Log:
MFC r312536:
Allow transmit packet bufring in software to be disabled.
- Add new sysctl node to control the transmit packet bufring.
- Add optimised version
Author: hselasky
Date: Thu Aug 3 14:06:22 2017
New Revision: 322001
URL: https://svnweb.freebsd.org/changeset/base/322001
Log:
MFC r312537:
Remove superfluous return statement.
Sponsored by: Mellanox Technologies
Modified:
stable/11/sys/dev/mlx5/mlx5_en/mlx5_en_main.c
Director
Author: hselasky
Date: Thu Aug 3 14:07:14 2017
New Revision: 322002
URL: https://svnweb.freebsd.org/changeset/base/322002
Log:
MFC r312537:
Remove superfluous return statement.
Sponsored by: Mellanox Technologies
Modified:
stable/10/sys/dev/mlx5/mlx5_en/mlx5_en_main.c
Director
Author: hselasky
Date: Thu Aug 3 14:08:37 2017
New Revision: 322003
URL: https://svnweb.freebsd.org/changeset/base/322003
Log:
MFC r312865:
Enforce reading the consumer and producer counters once to ensure
consistent return values from the mlx5e_sq_has_room_for()
function. The two counter
Author: hselasky
Date: Thu Aug 3 14:09:36 2017
New Revision: 322005
URL: https://svnweb.freebsd.org/changeset/base/322005
Log:
MFC r312865:
Enforce reading the consumer and producer counters once to ensure
consistent return values from the mlx5e_sq_has_room_for()
function. The two counter
Author: hselasky
Date: Thu Aug 3 14:12:23 2017
New Revision: 322006
URL: https://svnweb.freebsd.org/changeset/base/322006
Log:
MFC r312872:
Add support for reading advanced diagnostic counters.
By default reading the diagnostic counters is disabled. The firmware
decides which counters
Author: hselasky
Date: Thu Aug 3 14:14:13 2017
New Revision: 322007
URL: https://svnweb.freebsd.org/changeset/base/322007
Log:
MFC r312872:
Add support for reading advanced diagnostic counters.
By default reading the diagnostic counters is disabled. The firmware
decides which counters
Author: hselasky
Date: Thu Aug 3 14:16:31 2017
New Revision: 322008
URL: https://svnweb.freebsd.org/changeset/base/322008
Log:
MFC r312876:
Use ffs() to scan for first bit instead of using a for() loop.
Minor code refactor while at it.
Sponsored by: Mellanox Technologies
Modif
Author: hselasky
Date: Thu Aug 3 14:17:25 2017
New Revision: 322009
URL: https://svnweb.freebsd.org/changeset/base/322009
Log:
MFC r312876:
Use ffs() to scan for first bit instead of using a for() loop.
Minor code refactor while at it.
Sponsored by: Mellanox Technologies
Modif
Author: hselasky
Date: Thu Aug 3 14:19:26 2017
New Revision: 322010
URL: https://svnweb.freebsd.org/changeset/base/322010
Log:
MFC r312983:
Make "desc" pointer non-constant inside the mlx5_core_diagnostics_entry
structure. This fixes compilation with amd64-xtoolchain-gcc.
PR:
Author: hselasky
Date: Thu Aug 3 14:20:19 2017
New Revision: 322011
URL: https://svnweb.freebsd.org/changeset/base/322011
Log:
MFC r312983:
Make "desc" pointer non-constant inside the mlx5_core_diagnostics_entry
structure. This fixes compilation with amd64-xtoolchain-gcc.
PR:
Author: cy
Date: Thu Aug 3 14:22:48 2017
New Revision: 322012
URL: https://svnweb.freebsd.org/changeset/base/322012
Log:
MFC r321605:
As in r315225, discard 3072 bytes of RC4 bytestream instead of 1024.
(This implementation of arc4rand(9) is used by the userland ipftest
utility as it a
Author: cy
Date: Thu Aug 3 14:22:48 2017
New Revision: 322012
URL: https://svnweb.freebsd.org/changeset/base/322012
Log:
MFC r321605:
As in r315225, discard 3072 bytes of RC4 bytestream instead of 1024.
(This implementation of arc4rand(9) is used by the userland ipftest
utility as it a
Author: sevan (doc committer)
Date: Thu Aug 3 14:35:02 2017
New Revision: 322013
URL: https://svnweb.freebsd.org/changeset/base/322013
Log:
Document -w flag is an extension to POSIX.
PR: 201937
Submitted by:
Approved by: bcr (mentor)
Differential Revision:https://
Author: np
Date: Thu Aug 3 14:43:30 2017
New Revision: 322014
URL: https://svnweb.freebsd.org/changeset/base/322014
Log:
cxgbe(4): Initial import of the "collect" component of Chelsio unified
debug (cudbg) code, hooked up to the main driver via an ioctl.
The ioctl can be used to collect
Author: ian
Date: Thu Aug 3 14:43:41 2017
New Revision: 322015
URL: https://svnweb.freebsd.org/changeset/base/322015
Log:
Add an ahci driver for imx6.
This was submitted by Rogiel Sulzbach (thank you!) but has a few last-minute
changes by me, mostly where the code interfaces to my still-
Hey Hans,
Is it not important that the subtraction and result are evaluated
without truncation?
Thanks,
Conrad
On Thu, Aug 3, 2017 at 2:18 AM, Hans Petter Selasky
wrote:
> Author: hselasky
> Date: Thu Aug 3 09:18:25 2017
> New Revision: 321985
> URL: https://svnweb.freebsd.org/changeset/base/3
Author: ken
Date: Thu Aug 3 15:04:54 2017
New Revision: 322016
URL: https://svnweb.freebsd.org/changeset/base/322016
Log:
Oracle T1 tape drives use PRML encoding.
Source: Oracle T1 SCSI reference guide.
MFC after:3 days
Sponsored by: Spectra Logic
Modified:
head/us
Author: phil
Date: Thu Aug 3 15:43:14 2017
New Revision: 322017
URL: https://svnweb.freebsd.org/changeset/base/322017
Log:
Import libxo 0.8.4
Modified:
vendor/Juniper/libxo/dist/Makefile.am
vendor/Juniper/libxo/dist/configure.ac
vendor/Juniper/libxo/dist/doc/libxo-manual.html
vendor/Ju
Author: phil
Date: Thu Aug 3 15:43:29 2017
New Revision: 322018
URL: https://svnweb.freebsd.org/changeset/base/322018
Log:
Tag libxo 0.8.4
Added:
- copied from r322017, vendor/Juniper/libxo/dist/
Directory Properties:
vendor/Juniper/libxo/0.8.4/ (props changed)
___
Author: phil
Date: Thu Aug 3 15:47:42 2017
New Revision: 322019
URL: https://svnweb.freebsd.org/changeset/base/322019
Log:
Update from libxo-0.8.1 to 0.8.4:
0.8.4:
- void anchor width optimization when we have a custom formatter
(https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=2211
Author: ngie
Date: Thu Aug 3 17:53:14 2017
New Revision: 322023
URL: https://svnweb.freebsd.org/changeset/base/322023
Log:
Remove special-case logic for running tests on host machines
I'm not sure what process sjg@ was using, but using CHECKDIR=${.OBJDIR} with
"make check" on ^/head is t
Author: ian
Date: Thu Aug 3 18:43:54 2017
New Revision: 322025
URL: https://svnweb.freebsd.org/changeset/base/322025
Log:
Switch to iicdev_readfrom/writeto() to do xfers with proper bus ownership.
Tested by:manu@
Modified:
head/sys/arm/allwinner/axp209.c
Modified: head/sys/arm/allw
Author: ian
Date: Thu Aug 3 18:49:15 2017
New Revision: 322026
URL: https://svnweb.freebsd.org/changeset/base/322026
Log:
Add missing header file to SRCS.
Reported by: manu@
Modified:
head/sys/modules/i2c/nxprtc/Makefile
Modified: head/sys/modules/i2c/nxprtc/Makefile
=
Author: manu
Date: Thu Aug 3 19:01:46 2017
New Revision: 322027
URL: https://svnweb.freebsd.org/changeset/base/322027
Log:
arm: Add a GENERIC-NODEBUG kernel config
Like amd64 or arm64 provide a GENERIC-NODEBUG configuration file that
remove WITNESS and INVARIANTS etc ...
Added:
head/s
Author: markj
Date: Thu Aug 3 21:14:46 2017
New Revision: 322028
URL: https://svnweb.freebsd.org/changeset/base/322028
Log:
Add subsystem vendor and device ID fields to struct pci_dev.
MFC after:1 week
Modified:
head/sys/compat/linuxkpi/common/include/linux/pci.h
head/sys/compat/l
Author: jlh
Date: Thu Aug 3 21:30:12 2017
New Revision: 322029
URL: https://svnweb.freebsd.org/changeset/base/322029
Log:
rwho/ruptime/rwhod shouldn't be gated by RCMDS.
PR: 220953
Reported by: peter@
Differential Revision:https://reviews.freebsd.org/D11743
Modified
Author: markj
Date: Thu Aug 3 21:35:53 2017
New Revision: 322030
URL: https://svnweb.freebsd.org/changeset/base/322030
Log:
Bump the maximum file name length in pseudofs filesystems to 48.
The previous limit of 24 was somewhat restrictive, and with this change
ceil(log2(sizeof(struct pfs
Author: jlh
Date: Thu Aug 3 21:37:57 2017
New Revision: 322031
URL: https://svnweb.freebsd.org/changeset/base/322031
Log:
Remove deprecation notice for ruptime/rwho/rwhod.
PR: 220953
Reported by: peter
Modified:
head/usr.bin/ruptime/ruptime.1
head/usr.bin/rwho/rwho.1
he
Konstantin Belousov writes:
> -#ifndef _POSIX_SOURCE
> +#if __BSD_VISIBLE
> #define ONLCR 0x0002 /* map NL to CR-NL (ala CRMOD)
> */
This caused a regression for apps building with _XOPEN_SOURCE e.g.,
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220843
DragonFly u
Author: cem
Date: Thu Aug 3 22:28:30 2017
New Revision: 322032
URL: https://svnweb.freebsd.org/changeset/base/322032
Log:
x86: Tag some intrinsics with __pure2
Some C wrappers for x86 instructions do not touch global memory and only act
on their arguments; they can be marked __pure2, aka
Author: markj
Date: Thu Aug 3 22:41:34 2017
New Revision: 322033
URL: https://svnweb.freebsd.org/changeset/base/322033
Log:
Fix procstat --libxo -L.
- Use the title role for column headers.
- Fix a typo in a field name (lpwid -> lwpid).
- Place the fields of different threads in separa
> On Aug 3, 2017, at 14:30, Jeremie Le Hen wrote:
>
> Author: jlh
> Date: Thu Aug 3 21:30:12 2017
> New Revision: 322029
> URL: https://svnweb.freebsd.org/changeset/base/322029
>
> Log:
> rwho/ruptime/rwhod shouldn't be gated by RCMDS.
The why in this commit and the next you made (r3
Author: np
Date: Fri Aug 4 01:28:06 2017
New Revision: 322034
URL: https://svnweb.freebsd.org/changeset/base/322034
Log:
cxgbe(4): Always use the first and not the last virtual interface
associated with a port in begin_synchronized_op.
MFC after:3 days
Sponsored by: Chelsio Communi
On Thu, 3 Aug 2017, Joerg Sonnenberger wrote:
On Thu, Aug 03, 2017 at 05:53:43PM +1000, Bruce Evans wrote:
Freestanding versions (static and otherwise) cause problems with builtins.
-ffreestanding turns off all builtins. The static memcpy used to be
ifdefed so as to use __builtin_memcpy instea
Author: alc
Date: Fri Aug 4 03:20:01 2017
New Revision: 322035
URL: https://svnweb.freebsd.org/changeset/base/322035
Log:
Add myself.
Modified:
head/usr.bin/calendar/calendars/calendar.freebsd
Modified: head/usr.bin/calendar/calendars/calendar.freebsd
===
Author: imp
Date: Fri Aug 4 03:40:01 2017
New Revision: 322036
URL: https://svnweb.freebsd.org/changeset/base/322036
Log:
Make nvd vs nda choice boot-time rather than build-time
Introduce hw.nvme.use_nvd tunable. This tunable allows both nvd and
nda to be installed in the kernel, while a
Author: imp
Date: Fri Aug 4 03:48:17 2017
New Revision: 322037
URL: https://svnweb.freebsd.org/changeset/base/322037
Log:
Add stpcpy and stpncpy to libstand
This adds the stpcpy and stpncpy functions to libstand.
Differential Revision: https://reviews.freebsd.org/D11844
Modified:
h
Author: imp
Date: Fri Aug 4 04:16:41 2017
New Revision: 322038
URL: https://svnweb.freebsd.org/changeset/base/322038
Log:
Add definitions and utilities for EFI drivers
This patch adds definitions and utility code for creating EFI drivers
using the EFI_DRIVER_BINDING_PROTOCOL.
Submit
Author: imp
Date: Fri Aug 4 04:20:11 2017
New Revision: 322040
URL: https://svnweb.freebsd.org/changeset/base/322040
Log:
Add EFI utility functions to libefi
This patch adds additional EFI utility functions to convert errno
values to EFI_STATUS errors, as well as EFI times to UNIX times.
Author: imp
Date: Fri Aug 4 04:20:06 2017
New Revision: 322039
URL: https://svnweb.freebsd.org/changeset/base/322039
Log:
Move EFI ZFS functions to libefi
This patch moves some EFI ZFS functions from loader to libefi,
allowing them to be used by anything that links against libefi.
S
Author: alc
Date: Fri Aug 4 04:23:23 2017
New Revision: 322041
URL: https://svnweb.freebsd.org/changeset/base/322041
Log:
In case readers are misled by expressions that combine multiplication and
division, add parentheses to make the precedence explicit.
Submitted by: Doug Moore
Reque
On 08/03/17 16:37, Conrad Meyer wrote:
Hey Hans,
Is it not important that the subtraction and result are evaluated
without truncation?
Hi,
ticks is a circular counter. Assuming time = 0 and jiffies = -1U, then
"delay" becomes a very large negative value, because long is used, and
the delay
On 08/03/17 23:28, Hans Petter Selasky wrote:
> On 08/03/17 16:37, Conrad Meyer wrote:
>> Is it not important that the subtraction and result are evaluated
>> without truncation?
>
> ticks is a circular counter. Assuming time = 0 and jiffies = -1U, then "delay"
> becomes a very large negative valu
On 08/04/17 08:40, Colin Percival wrote:
Casting to "int" or truncating is the right thing to do in this case.
Signed integer overflow is undefined. Using 'int' is liable to cause problems
after 2^32 ticks.
Hi,
If you check the code how this function is used, you'll see that the
argument
80 matches
Mail list logo