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
Differential Revision
D19577: iflib: mark isc_driver_version as constant
Parents
rS345311: Fix two typos: an -> and; the the -> the
Branches
Unknown
Tags
Unknown