Message ID | 1489798493-16600-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 D272160249 for <patchwork-dri-devel@patchwork.kernel.org>; Sat, 18 Mar 2017 00:56:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C66F6283FB for <patchwork-dri-devel@patchwork.kernel.org>; Sat, 18 Mar 2017 00:56:38 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BB400284A5; Sat, 18 Mar 2017 00:56:38 +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 76ACC283FB for <patchwork-dri-devel@patchwork.kernel.org>; Sat, 18 Mar 2017 00:56:38 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 8AF276EDD3; Sat, 18 Mar 2017 00:56:12 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-qk0-f180.google.com (mail-qk0-f180.google.com [209.85.220.180]) by gabe.freedesktop.org (Postfix) with ESMTPS id CC0016EDE0 for <dri-devel@lists.freedesktop.org>; Sat, 18 Mar 2017 00:56:10 +0000 (UTC) Received: by mail-qk0-f180.google.com with SMTP id y76so77322990qkb.0 for <dri-devel@lists.freedesktop.org>; Fri, 17 Mar 2017 17:56:10 -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=O8bBD1uQapHV1xz+g6Ra/2JGsrEfCphTIFz1Svp+1g8=; b=DGA+IJHGxZU2N9S8Ofq5cKxoBe77haUoSBWOCV9kILxlZgEjX2SdYJSJgcoxT/ojMc AP5RHaezU5IyZ13lFhlcJDBSzPsXG/R9Gm4WPn8eLZES1Cyf+lSl8faLqFlOUYn4AFjC h90nQN+iV9nlZVC1j6fyt5NlwPsbNLesOnOUMJeX9KpQvi4bJZFE9VSa+TpsifQPAgGk q54uptpzfLbBw6+6x/m0SUELOrGHQPjOCl67m0oSy1n68yYKYgY2y5C3YB+/+zTww4GL JNoMjsJq0LZUUrsU9Bvp/eaMmTmFgVV/Zgz+FyfUZamCqZaWKO1pyfFGW8+p/lxTnGHO ArMA== X-Gm-Message-State: AFeK/H0LAjfnhPjCt1q2h0marwWNug0EGHst+sniu+1c81wxKgiaAZHA3keI+K7eAHjvg+t5 X-Received: by 10.55.145.7 with SMTP id t7mr14889112qkd.2.1489798570019; Fri, 17 Mar 2017 17:56:10 -0700 (PDT) Received: from labbott-redhat-machine.redhat.com ([2601:602:9802:a8dc:1722:8a6b:a66c:79eb]) by smtp.gmail.com with ESMTPSA id e55sm7118568qte.52.2017.03.17.17.56.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 17 Mar 2017 17:56:08 -0700 (PDT) From: Laura Abbott <labbott@redhat.com> To: Sumit Semwal <sumit.semwal@linaro.org>, Riley Andrews <riandrews@android.com>, arve@android.com Subject: [RFC PATCHv2 21/21] staging: android: ion: Set query return value Date: Fri, 17 Mar 2017 17:54:53 -0700 Message-Id: <1489798493-16600-22-git-send-email-labbott@redhat.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1489798493-16600-1-git-send-email-labbott@redhat.com> References: <1489798493-16600-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 64c652b..8bd90ce 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(+)