aboutsummaryrefslogtreecommitdiff
path: root/cddl/usr.sbin
diff options
context:
space:
mode:
authorStephen Hurd <shurd@FreeBSD.org>2018-05-29 21:56:39 +0000
committerStephen Hurd <shurd@FreeBSD.org>2018-05-29 21:56:39 +0000
commit3e0e6330b52cb5af572ac2b5cda1199a32cbed4b (patch)
treeddcc2cec3d9f5134e68d8db8e99b2f6bced23edd /cddl/usr.sbin
parent21a8e0b1d5868eeaa75b9024df6c603dc77e8e3c (diff)
downloadsrc-3e0e6330b52cb5af572ac2b5cda1199a32cbed4b.tar.gz
src-3e0e6330b52cb5af572ac2b5cda1199a32cbed4b.zip
iflib: mark irq allocation name parameter as constant
The *name parameter passed to iflib_irq_alloc_generic and iflib_softirq_alloc_generic is never modified. Many places in code pass string literals and thus should not be modified. Mark the *name parameter as a const char * instead, so that we enforce that the name is not modified before passing to bus_describe_intr() Submitted by: Jacob Keller <jacob.e.keller@intel.com> Reviewed by: kmacy Sponsored by: Intel Corporation Differential Revision: https://reviews.freebsd.org/D15343
Notes
Notes: svn path=/head/; revision=334358
Diffstat (limited to 'cddl/usr.sbin')
0 files changed, 0 insertions, 0 deletions