HomeFreeBSD

iflib: mark isc_driver_version as constant

Description

iflib: mark isc_driver_version as constant

From Jake:
The iflib core never modifies the isc_driver_version string. Allow
drivers to safely assign pointers to constant buffers by marking this
parameter const.

Submitted by: Jacob Keller <jacob.e.keller@intel.com>
Reviewed by: erj@, gallatin@, jhb@
MFC after: 1 week
Sponsored by: Intel Corporation
Differential Revision: https://reviews.freebsd.org/D19577

Details

Provenance
erjAuthored on Mar 19 2019, 11:44 PM
Parents
rG312437815ad1: Fix two typos: an -> and; the the -> the
Branches
Unknown
Tags
Unknown