Date: Sat, 4 Jun 2016 17:16:35 +0000 (UTC) From: Andrew Rybchenko <arybchik@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r301393 - stable/10/sys/dev/sfxge/common Message-ID: <201606041716.u54HGZA8056008@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: arybchik Date: Sat Jun 4 17:16:35 2016 New Revision: 301393 URL: https://svnweb.freebsd.org/changeset/base/301393 Log: MFC r300841 sfxge(4): add constant condition note to make lint happier Found by lint on illumos. Submitted by: Garrett D'Amore <garrett at damore.org> Sponsored by: Solarflare Communications, Inc. Modified: stable/10/sys/dev/sfxge/common/ef10_mcdi.c stable/10/sys/dev/sfxge/common/ef10_nic.c stable/10/sys/dev/sfxge/common/ef10_tx.c Directory Properties: stable/10/ (props changed) Modified: stable/10/sys/dev/sfxge/common/ef10_mcdi.c ============================================================================== --- stable/10/sys/dev/sfxge/common/ef10_mcdi.c Sat Jun 4 17:15:38 2016 (r301392) +++ stable/10/sys/dev/sfxge/common/ef10_mcdi.c Sat Jun 4 17:16:35 2016 (r301393) @@ -213,6 +213,7 @@ ef10_mcdi_poll_reboot( * this can be handled by common code drivers (and reworked to * support Siena too). */ + _NOTE(CONSTANTCONDITION) if (B_FALSE) { rc = EIO; goto fail1; Modified: stable/10/sys/dev/sfxge/common/ef10_nic.c ============================================================================== --- stable/10/sys/dev/sfxge/common/ef10_nic.c Sat Jun 4 17:15:38 2016 (r301392) +++ stable/10/sys/dev/sfxge/common/ef10_nic.c Sat Jun 4 17:16:35 2016 (r301393) @@ -1677,6 +1677,7 @@ ef10_nic_register_test( /* FIXME */ _NOTE(ARGUNUSED(enp)) + _NOTE(CONSTANTCONDITION) if (B_FALSE) { rc = ENOTSUP; goto fail1; Modified: stable/10/sys/dev/sfxge/common/ef10_tx.c ============================================================================== --- stable/10/sys/dev/sfxge/common/ef10_tx.c Sat Jun 4 17:15:38 2016 (r301392) +++ stable/10/sys/dev/sfxge/common/ef10_tx.c Sat Jun 4 17:16:35 2016 (r301393) @@ -649,6 +649,7 @@ ef10_tx_qpace( /* FIXME */ _NOTE(ARGUNUSED(etp, ns)) + _NOTE(CONSTANTCONDITION) if (B_FALSE) { rc = ENOTSUP; goto fail1;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201606041716.u54HGZA8056008>