Message ID | 1491245884-15852-22-git-send-email-labbott@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 7540C60353 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 3 Apr 2017 19:52:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 63CFE2847B for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 3 Apr 2017 19:52:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 56C9F2849A; Mon, 3 Apr 2017 19:52:36 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.4 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_SORBS_SPAM autolearn=no version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id F20B72847B for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 3 Apr 2017 19:52:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=E7lWgu+3vtFMAfPKUaOkHHi9TC7EpvVxbxnjlxjnDBo=; b=rqvV+rM50YJHC4rEBdMSv6Js+Y 4hfZ1pIQsjZwzTCohV4RrYCUgCVCSrESWwpDSxCSt06spumd/MQAHHvbqlkRt8s24wNN/onejB+vB HxzS5N6neE/pIb/HaNcjvanC5AjGQhBT9qRYWSeNKwzs0Dhf5BG6/hL/p7BiUGTB4PQ8Rc6Cf0Wx6 1hcLvG8sHiyroyNNKUZV6uUmUScnjVYj0ugRJYd66c/gAS3r/Tkg3WaxFK012haaEhrAiTx4qRMOt I+OWbncEriHrv053gucZrLxa7KRB6HkeVY9M4GGvHswNuPQhuKlbkbVoh/Mfg0jtVfVLD3UDY5oSd lxkLnjFg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cv81i-0003Vg-7c; Mon, 03 Apr 2017 19:52:34 +0000 Received: from merlin.infradead.org ([2001:4978:20e::2]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cv7tU-0005WJ-Av for linux-arm-kernel@bombadil.infradead.org; Mon, 03 Apr 2017 19:44:04 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=bhm1p9Q8Nv3sjl2lJgkhex2YtG976eaqOVl9ZbE/KF8=; b=lK1v6jdORn4X4H2aJp1D/s2b5 LxFmML0L6/6r0A1972/m3ro98BibBmruwf76SF2ka4zgTxSVD057BNPRX2n8dyDkVkdbUxJ7JzV6V 4gcX++CMnSv4Sev9reGXRUprKWrBmyJK/9akOLH1yMdFQbystIlwaoRFHxyhWGDzp5ezTj5Yvb2bx JFqFHMWROesGhGBB4UlM65N0P6r7KX1tXsWuW34t6Z3IHEE12vUhILl3VYumtIRjHF/90oRZEmNex dJUSaVN+7BgCny/sWRSz187DruZCrdufJrgtZyZ52lS2PFWzvFglwoozAvyZNPLA36aNBbi0hCrvZ PT1SjX51A==; Received: from mail-qt0-f177.google.com ([209.85.216.177]) by merlin.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cv7KZ-0006oG-Nl for linux-arm-kernel@lists.infradead.org; Mon, 03 Apr 2017 19:08:00 +0000 Received: by mail-qt0-f177.google.com with SMTP id r45so120798020qte.3 for <linux-arm-kernel@lists.infradead.org>; Mon, 03 Apr 2017 12:07:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=bhm1p9Q8Nv3sjl2lJgkhex2YtG976eaqOVl9ZbE/KF8=; b=rIRcinoK0byNSQ5vPa1/JINfBBAcuyiRPwij5K711++FYW4NrxMkawNra2PDfWlSkh bwWS58xQiAlAg+TuDNzgdnItGy8apu7IsvNiREmZTeeRu0ogVPphqU2Mp59Im7szhKhP EVCOtjVWyv242Wb06rMkwQVaF2ZuRdrDJffeLDq6hgL0Y4B5ur979otZFtS/W6HmH3VM PF9k6puZg5l4WQYA59I1Vx1eqVAZKkAKEUgezV+US3212DNVpWD8zSbI/UQ4HgQRJ7dv mGq70u9uQXSQhcpmvqEq2krzHgk/MP+Hk7nHj2EG/xt0jz7z0/YeEgfJa+tHcS5m9q3F OLMQ== X-Gm-Message-State: AFeK/H3i0nxc4/Bc6afGlPZs6E1WJRMm+SPLTJvQQ8Fhui9jgUTanjugpJNcsr5+wFURhnET X-Received: by 10.237.32.69 with SMTP id 63mr18311014qta.107.1491245960796; Mon, 03 Apr 2017 11:59:20 -0700 (PDT) Received: from labbott-redhat-machine.redhat.com ([2601:602:9802:a8dc:1722:8a6b:a66c:79eb]) by smtp.gmail.com with ESMTPSA id e5sm10173689qtc.6.2017.04.03.11.59.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 03 Apr 2017 11:59:19 -0700 (PDT) From: Laura Abbott <labbott@redhat.com> To: Sumit Semwal <sumit.semwal@linaro.org>, Riley Andrews <riandrews@android.com>, arve@android.com Subject: [PATCHv3 21/22] staging: android: ion: Set query return value Date: Mon, 3 Apr 2017 11:58:03 -0700 Message-Id: <1491245884-15852-22-git-send-email-labbott@redhat.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1491245884-15852-1-git-send-email-labbott@redhat.com> References: <1491245884-15852-1-git-send-email-labbott@redhat.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170403_150759_815067_FE624CEF X-CRM114-Status: UNSURE ( 9.22 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: devel@driverdev.osuosl.org, romlem@google.com, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linaro-mm-sig@lists.linaro.org, linux-mm@kvack.org, Mark Brown <broonie@kernel.org>, Laurent Pinchart <laurent.pinchart@ideasonboard.com>, Benjamin Gaignard <benjamin.gaignard@linaro.org>, Daniel Vetter <daniel.vetter@intel.com>, Laura Abbott <labbott@redhat.com>, Brian Starkey <brian.starkey@arm.com>, linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/staging/android/ion/ion.c b/drivers/staging/android/ion/ion.c index 9eeb06f..d6fd350 100644 --- a/drivers/staging/android/ion/ion.c +++ b/drivers/staging/android/ion/ion.c @@ -498,6 +498,7 @@ int ion_query_heaps(struct ion_heap_query *query) } query->cnt = cnt; + ret = 0; out: up_read(&dev->lock); return ret;
This never got set in the ioctl. Properly set a return value of 0 on success. Signed-off-by: Laura Abbott <labbott@redhat.com> --- drivers/staging/android/ion/ion.c | 1 + 1 file changed, 1 insertion(+)