From owner-svn-src-stable-11@freebsd.org Wed May 6 17:35:43 2020 Return-Path: Delivered-To: svn-src-stable-11@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1D13E2DAC0F; Wed, 6 May 2020 17:35:43 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49HNzL72gJz3xGb; Wed, 6 May 2020 17:35:42 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id E808E307E; Wed, 6 May 2020 17:35:42 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 046HZgXf061526; Wed, 6 May 2020 17:35:42 GMT (envelope-from dim@FreeBSD.org) Received: (from dim@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 046HZggP061525; Wed, 6 May 2020 17:35:42 GMT (envelope-from dim@FreeBSD.org) Message-Id: <202005061735.046HZggP061525@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: dim set sender to dim@FreeBSD.org using -f From: Dimitry Andric Date: Wed, 6 May 2020 17:35:42 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Subject: svn commit: r360694 - stable/11/sys/dev/nxge/xgehal X-SVN-Group: stable-11 X-SVN-Commit-Author: dim X-SVN-Commit-Paths: stable/11/sys/dev/nxge/xgehal X-SVN-Commit-Revision: 360694 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-stable-11@freebsd.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: SVN commit messages for only the 11-stable src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 May 2020 17:35:43 -0000 Author: dim Date: Wed May 6 17:35:42 2020 New Revision: 360694 URL: https://svnweb.freebsd.org/changeset/base/360694 Log: Fix misleading indentation warning: sys/dev/nxge/xgehal/xgehal-mgmt.c:1743:6: error: misleading indentation; statement is not part of the previous 'if' [-Werror,-Wmisleading-indentation] addr = 0xA074; ^ sys/dev/nxge/xgehal/xgehal-mgmt.c:1736:2: note: previous statement is here if(CHECKBIT(val_1, 0x0)) ^ Direct commit to stable/11, since nxge(4) has been removed from FreeBSD 12 and later. Modified: stable/11/sys/dev/nxge/xgehal/xgehal-mgmt.c Modified: stable/11/sys/dev/nxge/xgehal/xgehal-mgmt.c ============================================================================== --- stable/11/sys/dev/nxge/xgehal/xgehal-mgmt.c Wed May 6 17:12:26 2020 (r360693) +++ stable/11/sys/dev/nxge/xgehal/xgehal-mgmt.c Wed May 6 17:35:42 2020 (r360694) @@ -1740,9 +1740,9 @@ void __hal_updt_stats_xpak(xge_hal_device_t *hldev) /* * Reading the warning flags */ - addr = 0xA074; - val_1 = 0x0; - val_1 = xge_hal_mdio_read(hldev, XGE_HAL_MDIO_MMD_PMA_DEV_ADDR, addr); + addr = 0xA074; + val_1 = 0x0; + val_1 = xge_hal_mdio_read(hldev, XGE_HAL_MDIO_MMD_PMA_DEV_ADDR, addr); if(CHECKBIT(val_1, 0x7)) hldev->stats.sw_dev_err_stats.stats_xpak. warn_transceiver_temp_high++;