Date: Sun, 3 May 2015 22:32:46 +0000 (UTC) From: Adrian Chadd <adrian@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r282374 - head/sys/dev/wpi Message-ID: <201505032232.t43MWk6x063727@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: adrian Date: Sun May 3 22:32:45 2015 New Revision: 282374 URL: https://svnweb.freebsd.org/changeset/base/282374 Log: Fix KASSERT statements in if_wpi_debug.h PR: kern/197143 Submitted by: Andriy Voskoboinyk <s3erios@gmail.com> Modified: head/sys/dev/wpi/if_wpi_debug.h Modified: head/sys/dev/wpi/if_wpi_debug.h ============================================================================== --- head/sys/dev/wpi/if_wpi_debug.h Sun May 3 22:30:11 2015 (r282373) +++ head/sys/dev/wpi/if_wpi_debug.h Sun May 3 22:32:45 2015 (r282374) @@ -90,7 +90,6 @@ static const char *wpi_cmd_str(int cmd) WPI_DESC(WPI_CMD_BT_COEX); default: - KASSERT(1, ("Unknown Command: %d\n", cmd)); return "UNKNOWN CMD"; } } @@ -117,7 +116,7 @@ static const char *wpi_get_csr_string(in WPI_DESC(WPI_ANA_PLL); WPI_DESC(WPI_DBG_HPET_MEM); default: - KASSERT(1, ("Unknown CSR: %d\n", csr)); + KASSERT(0, ("Unknown CSR: %d\n", csr)); return "UNKNOWN CSR"; } } @@ -130,7 +129,7 @@ static const char *wpi_get_prph_string(i WPI_DESC(WPI_APMG_PCI_STT); WPI_DESC(WPI_APMG_RFKILL); default: - KASSERT(1, ("Unknown register: %d\n", prph)); + KASSERT(0, ("Unknown register: %d\n", prph)); return "UNKNOWN PRPH"; } }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201505032232.t43MWk6x063727>