HomeFreeBSD

amd64: stop asserting params != NULL in the syscall path

Description

amd64: stop asserting params != NULL in the syscall path

The parameter is effectively controllable by userspace. It does not matter
what it is set to as it is being passed to copyin - worst case the operation
will just fail.

While here stop computing it unless it is going to be used.

Noted by: dillon@backplane.com

Details

Provenance
mjgAuthored on
Parents
rS333336: MFC r326571: ifconfig(8): Display extended compliance code string for SFP…
Branches
Unknown
Tags
Unknown