Message ID | 1491245884-15852-22-git-send-email-labbott@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <dri-devel-bounces@lists.freedesktop.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 2D53E6032D for <patchwork-dri-devel@patchwork.kernel.org>; Mon, 3 Apr 2017 18:59:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 21D88284C2 for <patchwork-dri-devel@patchwork.kernel.org>; Mon, 3 Apr 2017 18:59:55 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 168ED284F0; Mon, 3 Apr 2017 18:59:55 +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=-3.7 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RCVD_IN_SORBS_SPAM autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id D172C284C2 for <patchwork-dri-devel@patchwork.kernel.org>; Mon, 3 Apr 2017 18:59:54 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id BE76C6E3E2; Mon, 3 Apr 2017 18:59:22 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-qt0-f180.google.com (mail-qt0-f180.google.com [209.85.216.180]) by gabe.freedesktop.org (Postfix) with ESMTPS id 0093D6E3E2 for <dri-devel@lists.freedesktop.org>; Mon, 3 Apr 2017 18:59:21 +0000 (UTC) Received: by mail-qt0-f180.google.com with SMTP id i34so120914441qtc.0 for <dri-devel@lists.freedesktop.org>; Mon, 03 Apr 2017 11:59:21 -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=Hq8mFT3G8+V2q8DaRebkKtVBGEycMALPs7729J8eU4t/TQ2n30wyQzmTb+SpE1eEqJ XW6l0ma3hA7qWHf+dGop6M1PDlL8oybDQmb9CdG5erjtLRrag7rb0eExUz/NdRQT+bEc +Kt5w2LVlp57GhZBYdC8DALjuWlNptQai6N++1g3SGdNt3WKqptrs4IgeZOIdjD5V5+5 zCanbxi+bekBBWcZrRFintRyb/tn43ZpyAXgbDe0wbxNb6jofxKCGAA1xfV4NiZG1lxj qzbPuFmkbE/wHbgDXlGLq29N3aqzh356LNXKgGAwiH5jzp0jdBAyJRsk/s3onej2inGg OBLw== X-Gm-Message-State: AFeK/H3DuzIvJZUR9KlZpSKC+6Ou6Ufnmj0/QEVhjV4QI9da1aRd5fHGLxC6KRZeWzNeYyfk 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> 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>, Daniel Vetter <daniel.vetter@intel.com>, linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development <dri-devel.lists.freedesktop.org> List-Unsubscribe: <https://lists.freedesktop.org/mailman/options/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=unsubscribe> List-Archive: <https://lists.freedesktop.org/archives/dri-devel> List-Post: <mailto:dri-devel@lists.freedesktop.org> List-Help: <mailto:dri-devel-request@lists.freedesktop.org?subject=help> List-Subscribe: <https://lists.freedesktop.org/mailman/listinfo/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" <dri-devel-bounces@lists.freedesktop.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(+)