freebsd-skq/sys
Eric van Gyzen d17136fc3d amd64 pmap: potential integer overflowing expression
Coverity has identified the line in this change as "Potential integer
overflowing expression" due to the variable i declared as an int
and used in an expression with vm_paddr_t, a 64bit variable.

This change has very little effect as when this line is execute
nkpt is small and phys_addr is a the beginning of physical memory.
But there is no explicit protection that the above is true.

Submitted by:	bret_ketchum@dell.com
Reported by:	Coverity
Reviewed by:	markj
MFC after:	2 weeks
Sponsored by:	Dell EMC Isilon
Differential Revision:	https://reviews.freebsd.org/D26141
2020-08-21 14:22:32 +00:00
..
amd64 amd64 pmap: potential integer overflowing expression 2020-08-21 14:22:32 +00:00
arm None of system, subsystem, or type may have spaces in them. Convert the spaces 2020-08-18 20:20:45 +00:00
arm64 Remove an unused parameter from map_table(). 2020-08-20 00:38:32 +00:00
bsm bsm: add AUE_CLOSERANGE 2020-04-24 01:27:25 +00:00
cam Use devctl.h instead of bus.h to reduce newbus pollution. 2020-08-21 00:03:24 +00:00
cddl Use devctl.h instead of bus.h to reduce newbus pollution. 2020-08-21 00:03:24 +00:00
compat vfs: drop the error parameter from vn_isdisk, introduce vn_isdisk_error 2020-08-19 02:51:17 +00:00
conf Unbreak LINT 2020-08-20 19:51:25 +00:00
contrib pcg-c: Add 'static' to inline function definitions 2020-08-15 18:46:26 +00:00
crypto padlock: fix Via Padlock with 192-bit keys 2020-07-20 16:12:14 +00:00
ddb [PowerPC] More relocation fixes 2020-06-21 03:39:26 +00:00
dev cxgbei: destroy the worker threads' CV and mutex in stop_worker_threads. 2020-08-21 00:34:33 +00:00
dts Remove licenses 2020-06-04 17:20:58 +00:00
fs cache: add cache_rename, a dedicated helper to use for renames 2020-08-20 10:05:46 +00:00
gdb gdb(4): Support empty qSupported queries 2020-08-18 20:59:10 +00:00
geom Use devctl.h instead of bus.h to reduce newbus pollution. 2020-08-21 00:03:24 +00:00
gnu Import DTS files for arm, arm64, riscv from Linux 5.8 2020-08-04 19:44:43 +00:00
i386 Use pmap_mapbios() to map ACPI tables on amd64 and i386. 2020-08-20 00:52:53 +00:00
isa
kern Use devctl.h instead of bus.h to reduce newbus pollution. 2020-08-21 00:03:24 +00:00
kgssapi Add support for optional separate output buffers to in-kernel crypto. 2020-05-25 22:12:04 +00:00
libkern Add prng(9) API 2020-08-13 20:48:14 +00:00
mips Include virtio support in std.MALTA 2020-07-31 11:28:09 +00:00
modules Remove the long obsolete ufm driver. 2020-08-20 17:35:47 +00:00
net Use devctl.h instead of bus.h to reduce newbus pollution. 2020-08-21 00:03:24 +00:00
net80211 net80211: replace magic number by define 2020-08-17 20:18:01 +00:00
netgraph Tag pccard drivers with gone in 13. 2020-08-20 17:19:40 +00:00
netinet Use devctl.h instead of bus.h to reduce newbus pollution. 2020-08-21 00:03:24 +00:00
netinet6 Make net.inet6.ip6.deembed_scopeid behaviour default & remove sysctl. 2020-08-15 11:37:44 +00:00
netipsec Simplify IPsec transform-specific teardown. 2020-06-25 23:59:16 +00:00
netpfil ipfw: style(9) fixes 2020-08-20 16:56:13 +00:00
netsmb Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many) 2020-02-26 14:26:36 +00:00
nfs Transition from rtrequest1_fib() to rib_action(). 2020-07-21 19:56:13 +00:00
nfsclient
nfsserver
nlm Fix export_args ex_flags field so that is 64bits, the same as mnt_flags. 2020-06-14 00:10:18 +00:00
ofed Infiniband clients must be attached and detached in a specific order in ibcore. 2020-07-06 08:50:11 +00:00
opencrypto Add support for KTLS RX via software decryption. 2020-07-23 23:48:18 +00:00
powerpc [PowerPC] Fix translation-related crashes during startup 2020-08-21 03:31:01 +00:00
riscv riscv: Use global mimpid in identify_cpu() 2020-08-18 16:51:04 +00:00
rpc Add an argument to newnfs_connect() that indicates use TLS for the connection. 2020-08-11 00:26:45 +00:00
security vfs: add VOP_STAT 2020-08-07 23:06:40 +00:00
sys Move devctl_notify* to devctl.h. 2020-08-20 17:14:39 +00:00
teken
tests Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many) 2020-02-26 14:26:36 +00:00
tools makesyscalls.lua: improve syscall ordering validation 2020-08-04 21:49:13 +00:00
ufs cache: add cache_rename, a dedicated helper to use for renames 2020-08-20 10:05:46 +00:00
vm vfs: drop the error parameter from vn_isdisk, introduce vn_isdisk_error 2020-08-19 02:51:17 +00:00
x86 Export a routine to provide the TSC_AUX MSR value and use this in vmm. 2020-08-18 11:36:38 +00:00
xdr Split XDR into separate kernel module. Make krpc depend on xdr. 2020-04-17 06:04:20 +00:00
xen Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (16 of many) 2020-02-25 19:04:39 +00:00
Makefile Remove sparc64 kernel support 2020-02-03 17:35:11 +00:00