From nobody Mon Apr 18 19:29:58 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 CEF3911DD621; Mon, 18 Apr 2022 19:29:58 +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 4KhxpZ4pgJz4bCS; Mon, 18 Apr 2022 19:29:58 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650310198; 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=uqSjJslZn9vA8P9sNk7oxS9AG1dodKZ7I5J9hDDFYmA=; b=Zn/vLM+hvLmwkbmcZJPD7B6jtgeTV+q2RSJA/5ml2CT0k3iIzwPIpfpK0lIz3hVqaTW3pf Layw+dwI5ima4bLtfC5G4rgOkg4MaZGnI+nYxUztTMjqEQDfJHv5WvmXvpaZ0UFY/Wrh/0 p85frO8ES05fn/Pm0vXRz94VJYVHo2TUj4xeY3CZHCJHhYQ/wIvXJwddC+xn+cMnm24ALL Ub93uhLXXKj+uM71JE2fQKTW0ndwb9LQrrdTE8MR/+5EWKw4VQG5ve/vGIklVP5TWx9ZEA GWM8xxyBcCbgbUHldZhXEcNnYa7iZxyzDytXmCJTyYWDm4YM+qVaZQW85M6cjQ== 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 8444B18C24; Mon, 18 Apr 2022 19:29:58 +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 23IJTwv8016827; Mon, 18 Apr 2022 19:29:58 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23IJTwsV016826; Mon, 18 Apr 2022 19:29:58 GMT (envelope-from git) Date: Mon, 18 Apr 2022 19:29:58 GMT Message-Id: <202204181929.23IJTwsV016826@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: bc734377d9dd - main - qoriq_gpio_pin_setflags: Propagate error from qoriq_gpio_pin_configure. 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: bc734377d9ddc1a405277d6afa8c0147e02194c6 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650310198; 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=uqSjJslZn9vA8P9sNk7oxS9AG1dodKZ7I5J9hDDFYmA=; b=mNhbsNUe/onUdC5oY+Q+O8I7cA1fAZpa4EVnSwY7IiGxemL5KgYo9+GQ5JJwCBFHpTS7hA OQAv/8QX8W3yAWfoo0h/+ub+MCuOOQSMAftS3EipoHJNaCILezflFftIxwBGtrSdTbQ79r fltD2utSP7UbHewoQjqPCYmB/swfwXw3Scuh37QNesegjTIU7w+aeEKAydNCeZfVuX38F1 hPV/Y3hFpmN1eYAQ6tisIzwV2dvw9qBYTJ7EWpJgu91QGDQzg0uhgV1S2Fl9VxSFKdaYci +6u8u7M1uW1nPYf9tSlt9GAUvvFZSaddPNAo2lMVOtXJG47ruPwNneCqsE4LNw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1650310198; a=rsa-sha256; cv=none; b=i2Z4JIWa+TRrpjo8+Jy5qRJh8xrB1atWPnJYy+f7XKyXa0O9uiWMILnfTOa1Ga/QbMn/gn skPDKaNw3pWy8lucBTlMSOCh7pn4MLLwNL+5DHBn2LNges/jt9vF/rEv80DoTVrqTFvLMM HG6SBF4vUJwwaCpQaUycWanwBi4029928PhuXoQB4ms7uzW84hkhBbNyO6Hji1vVcdBA8T qA0slofEiBZcqzpsa4OsPQHEQNfmFpa2m32XOOzB4T05/0VR0STtL+SpJ2NgFQxi5AyeTl oYYf81INhM5afqWDIGUuHd66VDyFvp1s3vtf59ghDJiwAFMXcEFzG59Bk8Bbtw== 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=bc734377d9ddc1a405277d6afa8c0147e02194c6 commit bc734377d9ddc1a405277d6afa8c0147e02194c6 Author: John Baldwin AuthorDate: 2022-04-18 19:28:09 +0000 Commit: John Baldwin CommitDate: 2022-04-18 19:28:09 +0000 qoriq_gpio_pin_setflags: Propagate error from qoriq_gpio_pin_configure. Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D34854 --- sys/dev/gpio/qoriq_gpio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/gpio/qoriq_gpio.c b/sys/dev/gpio/qoriq_gpio.c index 8300a45aa249..3853f0f4bcb5 100644 --- a/sys/dev/gpio/qoriq_gpio.c +++ b/sys/dev/gpio/qoriq_gpio.c @@ -153,7 +153,7 @@ qoriq_gpio_pin_setflags(device_t dev, uint32_t pin, uint32_t flags) GPIO_LOCK(sc); ret = qoriq_gpio_pin_configure(dev, pin, flags); GPIO_UNLOCK(sc); - return (0); + return (ret); } static int