From nobody Fri Apr 08 00:03:37 2022 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 6D6521A87E2C; Fri, 8 Apr 2022 00:03:38 +0000 (UTC) (envelope-from git@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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KZJPP5Ff6z4l1Q; Fri, 8 Apr 2022 00:03:37 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649376217; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=rlngC1P6HBw34lTgWhBUDvuiJR1cU0dtCDHFbMsSAbs=; b=b5jUK+L6Qvgm4hzRLJ8V6i59E63+rqYZv9mh0rZDQsxXB52LC6ShYuMjMq4P6qEAhYD57v DYn7ZvIbJJ1GQYFdIs9Aiy3MLELmeEsaXhJti+W+hEwS5Lw/2kZfNQyWou3CAhFyMxzdBd vxq4pcw51uSk0Ja1CVhEk1uksdC1XwpPE81dvwXmEnbyn8StCl2vxIpr11srGJyPmT6SrZ uvuJg9TvMD1TeWmmu7v4i/3xQBBsvQR1SgvytvXkxbcX6ChreDLsgnmJVJTu1MDMrE6STh 69QzwvlI5F02MJdkvnS4Od/x4zrWzISqVD9jJFkCcxgMlSPWUi9uic9U9jeh0A== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 442BB1A49B; Fri, 8 Apr 2022 00:03:37 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 23803bN2086588; Fri, 8 Apr 2022 00:03:37 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23803bai086587; Fri, 8 Apr 2022 00:03:37 GMT (envelope-from git) Date: Fri, 8 Apr 2022 00:03:37 GMT Message-Id: <202204080003.23803bai086587@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: John Baldwin Subject: git: 10e3e53dd4fc - main - qlxgbe: Use select_value_count variable. List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jhb X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 10e3e53dd4fc362a1e9fe00d529b84072ba7d8f1 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649376217; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=rlngC1P6HBw34lTgWhBUDvuiJR1cU0dtCDHFbMsSAbs=; b=x/Wov5DlUV0+yACBbj4WZ/LZ/Kz8ESZPI5aUuZbM1UOEjjlr6aIlW4vmeKe6Ck2FuRZXVg Ck1QSC5AdDwfxW53yg4dS4+C9KKRVbQNGtPFEp7bQmrw4r7xSwJmFHZIGbp7jYv5d8Og2h +MpDtCB9lDI7FWAE4XVgOD+j0wbTb/vBUC+ywG/SrhBfeO4xSOi0G1s3TCqfKLj1QsdJcl +VahANOChGt7NZm02A5o99TA0O1gQ7NSuCATx7JjOweAepQ91cAshxq2oDtGtGUc5wZHQ6 /ADiWVeYwoKT6UVrX3Ghsc1C0QiZxxMIkMGft3AK+a2Tpt4CyU7JtVewEN84Bg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649376217; a=rsa-sha256; cv=none; b=V8ttGUce1iCIlkuSl5+MVSoq9zrhsT355kPDcy+FnVhZRw3SNNUrE6wiPssWUGAlUsPVq/ rhnAYJKvz2UHkTUIkL95Jsc9y6FKkDqhmhhLy+3p8M8nd1P2lAT58uMxWYiU9L/PsscZOU 6XM06nePpfhskxariVJMFFYfw+VlDlfRUNOnci/iXAIeQXvNfMiuT9BttUpSkb6IwmNrHr LeYRzGmUQf6BROv4fl1IZ7B3eHeH1Lz2WUwOOtp+8IqSS7vCjUvAXpS40bxE7nduyLZgnp 9VQpkAejPyh2xPXx9OQKfS++o7ubVkbifNjq6wItLrKJzWXs4hmfDOHuTHNVMg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=10e3e53dd4fc362a1e9fe00d529b84072ba7d8f1 commit 10e3e53dd4fc362a1e9fe00d529b84072ba7d8f1 Author: John Baldwin AuthorDate: 2022-04-08 00:01:28 +0000 Commit: John Baldwin CommitDate: 2022-04-08 00:01:28 +0000 qlxgbe: Use select_value_count variable. --- sys/dev/qlxgbe/ql_hw.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sys/dev/qlxgbe/ql_hw.c b/sys/dev/qlxgbe/ql_hw.c index 9580a99c47b2..e7b91e4666e7 100644 --- a/sys/dev/qlxgbe/ql_hw.c +++ b/sys/dev/qlxgbe/ql_hw.c @@ -5176,8 +5176,7 @@ ql_rdmux2(qla_host_t *ha, read_addr = muxEntry->read_addr; - for (loop_cnt = 0; loop_cnt < muxEntry->select_value_count; - loop_cnt++) { + for (loop_cnt = 0; loop_cnt < select_value_count; loop_cnt++) { uint32_t temp_sel_val; ret = ql_rdwr_indreg32(ha, select_addr_1, &select_value_1, 0);