From nobody Tue Sep 13 03:10:54 2022 X-Original-To: dev-commits-src-all@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 4MRT4Z4YbRz4cBBj; Tue, 13 Sep 2022 03:10:54 +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 4MRT4Z3Q5Xz4J2F; Tue, 13 Sep 2022 03:10:54 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1663038654; 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=Obrp4YAu1rpxRwIXvGSdVv/M50lAXEh3iYQbJ6/+QEo=; b=nzCL+/yL5tRLk3ZRbiwNWJ2N8nXeAAxSBOsloG2FxJNiwdhhL+N37FRRghRHJd95ljIHim GaHGeZ3xjWM+LEqG9jtPFEhNEtih3nqXNQlN77Zv/YP+PR1/Q+QSUTei4ksqzqw9V3iKxX UVVwGqNZmz1qFKNKSWzoKws+rWWdXg2+wCvtvagb/iIQmwykC/rWo0xwnIdfsOH259Gc6L LSVYOtZPHnpjBVv/vip8y2DE+xtVFDD8XuinKpEU9ctJ513JKolZscTRt0VD4VEOvOJo4C wCIa0w1bBuPiCG99A70vCN47HLQoiOYl92weR1oggVos/ZDmzFdoBNCjUX/EHQ== 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 4MRT4Z2NfWz1BYb; Tue, 13 Sep 2022 03:10:54 +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 28D3Asna069828; Tue, 13 Sep 2022 03:10:54 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 28D3AsuY069827; Tue, 13 Sep 2022 03:10:54 GMT (envelope-from git) Date: Tue, 13 Sep 2022 03:10:54 GMT Message-Id: <202209130310.28D3AsuY069827@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Adrian Chadd Subject: git: 633d178c63be - main - qcom_qup: compilation fixes List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: adrian X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 633d178c63bef1110acde1932f97eb90da8881e8 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1663038654; 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=Obrp4YAu1rpxRwIXvGSdVv/M50lAXEh3iYQbJ6/+QEo=; b=HqEZlQnRA6h84OuhQrnxDsYCUop5EsvV1oi+aQsAO6UTjDRCM3GcbQHGVLjtTk14pICdTD y87q6hQkJXevA5I61Im4fx1vfd8NLAa3oyVac/4t5H52fswGC+8ZLRfuW3qA3riD+76HGH s7Wk+JodisJ/ganpnA6yD0kGoWffvEwX+mj/XRRFVKp1nOdghtgIi6EFk+egDykPK5j+w1 udd12ER3EowNWSHVmZTenlNINuN8Tjd0zvF2eIEGgeatCwmyuJmDryrz0iEMeRBTPXXNma kW82lTPXwMvU5+SE9WSakDHSURyzZ1ctbCGRhOCYF9qFdDBFx81Cv1ZBDqrRCg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1663038654; a=rsa-sha256; cv=none; b=RtaCvmtvSQll/AdNYRrkKLPgu7OIs5JqIf0gLziIZgiTtAftlPP739tcnFatvtxOcp8mV3 JybnJtva1os6c1z62BpHAxnlLG3JKMqqZd1LtrpVzM8nQbKehcBP2JZhxksPPjz9AqQJTx VMOaRD3NAGLWuSeNFgldOmWcY3NwUTfLRDhfUUwHC2EGT+U+Mi5oYwqTJhSdp//rEaYpFr HBBx8I2YY+fH5UkkeCmZarpKBjQpp0veIwLshXCa+bpxzFC1kLyb8hUUM/5oytc0rAwMLp 3+j26sMc0BlPiDaBvt0xX3qjGlpTBkHAiJuLee0FobFVLFpGxqg5x4zImvndsw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by adrian: URL: https://cgit.FreeBSD.org/src/commit/?id=633d178c63bef1110acde1932f97eb90da8881e8 commit 633d178c63bef1110acde1932f97eb90da8881e8 Author: Adrian Chadd AuthorDate: 2022-09-12 02:35:02 +0000 Commit: Adrian Chadd CommitDate: 2022-09-13 03:10:25 +0000 qcom_qup: compilation fixes Fix compilation warning/errors - in this instance we do need the register IO. Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D36535 --- sys/dev/qcom_qup/qcom_spi_hw.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/qcom_qup/qcom_spi_hw.c b/sys/dev/qcom_qup/qcom_spi_hw.c index 6b21fd239f5d..71cbcc671766 100644 --- a/sys/dev/qcom_qup/qcom_spi_hw.c +++ b/sys/dev/qcom_qup/qcom_spi_hw.c @@ -723,14 +723,14 @@ qcom_spi_hw_ack_write_pio_fifo(struct qcom_spi_softc *sc) int qcom_spi_hw_ack_opmode(struct qcom_spi_softc *sc) { - uint32_t reg; QCOM_SPI_ASSERT_LOCKED(sc); QCOM_SPI_BARRIER_READ(sc); - reg = QCOM_SPI_READ_4(sc, QUP_OPERATIONAL); + QCOM_SPI_READ_4(sc, QUP_OPERATIONAL); QCOM_SPI_WRITE_4(sc, QUP_OPERATIONAL, QUP_OP_OUT_SERVICE_FLAG); QCOM_SPI_BARRIER_WRITE(sc); + return (0); }