aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/sfxge/common/efx_intr.c
diff options
context:
space:
mode:
authorAndrew Rybchenko <arybchik@FreeBSD.org>2018-11-30 07:10:20 +0000
committerAndrew Rybchenko <arybchik@FreeBSD.org>2018-11-30 07:10:20 +0000
commitd707fb201e80dec81194a9f7351706a2ceed3324 (patch)
tree152710c8950000f24d07797e9f2735efcb929e17 /sys/dev/sfxge/common/efx_intr.c
parent405f7a36fe57c153ace171c8a4a1460e1024f668 (diff)
downloadsrc-d707fb201e80dec81194a9f7351706a2ceed3324.tar.gz
src-d707fb201e80dec81194a9f7351706a2ceed3324.zip
sfxge(4): correct annotations where NULL input is OK
Correct annotations where NULL input can be permitted Submitted by: Richard Houldsworth <rhouldsworth at solarflare.com> Sponsored by: Solarflare Communications, Inc. Differential Revision: https://reviews.freebsd.org/D18284
Notes
Notes: svn path=/head/; revision=341323
Diffstat (limited to 'sys/dev/sfxge/common/efx_intr.c')
-rw-r--r--sys/dev/sfxge/common/efx_intr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/sfxge/common/efx_intr.c b/sys/dev/sfxge/common/efx_intr.c
index 279413807e7c..5e4436350592 100644
--- a/sys/dev/sfxge/common/efx_intr.c
+++ b/sys/dev/sfxge/common/efx_intr.c
@@ -122,7 +122,7 @@ static const efx_intr_ops_t __efx_intr_ef10_ops = {
efx_intr_init(
__in efx_nic_t *enp,
__in efx_intr_type_t type,
- __in efsys_mem_t *esmp)
+ __in_opt efsys_mem_t *esmp)
{
efx_intr_t *eip = &(enp->en_intr);
const efx_intr_ops_t *eiop;