Message ID | 20210115181601.3432599-7-lee.jones@linaro.org |
---|---|
State | Accepted |
Commit | 4dacee1630b9bf26195cd9d27c0883b094147d57 |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp91181jap; Fri, 15 Jan 2021 10:16:28 -0800 (PST) X-Google-Smtp-Source: ABdhPJypuViAb5T1RVI7e7aEYBCqaijFoQ8M+s/4IywDRWjWKqg5n4+u7bdHDZ7wKbT/sc1JSBWS X-Received: by 2002:a62:7fc1:0:b029:19f:1dab:5029 with SMTP id a184-20020a627fc10000b029019f1dab5029mr13706203pfd.13.1610734588791; Fri, 15 Jan 2021 10:16:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610734588; cv=none; d=google.com; s=arc-20160816; b=ipajQXmtxxhCNk6hJHC6C6Kt9GlITz3vdssRkDojiqs35rzCMpkMUoNpOlxbudejF8 dySYpLiUZs6XAoveIxnWAgsek+didcQMYNvFYZL1TSG4lkSJEYb6qUzzNoGOKoNGEhcZ PAjA/Mod7sjydzy5jr4CvmrqTE4oBD2Yf4gdAa5hj5mf30r5eUUvHrviUU3AOnYZoCAM EtOtaFOHxL7CQTrMfpJHuWj7VnWcpHY+4xrwU+6uemx59ZlR7FLJBbOYm8+IYuP8JWws 8hJah0/dj062LznFfxWJAO5a7KgD0DxhUm86+Up/CAdIiQG6Kamx+7XLUo3OBYX4Mh1K CyGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=fL0GwIAS1NImiIpql0GSCY8rPkLRCna5ui50DAvTx24=; b=vlKk+vz8CtFiwz4+PX1N8WVzJyQZSVv1L2IXQZOx9BMVDw5qZEfefqTwEGfXWtUEt9 f13sdtBatBFv08uYlZUBz/LrbvybXtg7DkBMfGQCV9++qiosb0MJC/9QxQgWIDRfg3RN 4d4sHwQ0jk/KivyYTlDZoaWkbHw5vWxY44IRHGt4qq+3mb0Rqy97d4S8EuUN4Cgjk/nR cJNIe3MJ3w3Ia5eCfzaB4JXTGXcX4gQAG+E+2+lRVBFwpMWrzZpvw/1WO+M7n4AHPGD7 qBDFH/jjfDEC4SzqHpUELXAuPanUEBcYV/jZNo/rdlfI0sIrX8tS+kz8VpTK3svepar/ GzsA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=ao9i4vgD; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <dri-devel-bounces@lists.freedesktop.org> Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id l23si9909358pjz.9.2021.01.15.10.16.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:16:28 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=ao9i4vgD; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E57976E4CA; Fri, 15 Jan 2021 18:16:23 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x42c.google.com (mail-wr1-x42c.google.com [IPv6:2a00:1450:4864:20::42c]) by gabe.freedesktop.org (Postfix) with ESMTPS id 3722E6E4C5 for <dri-devel@lists.freedesktop.org>; Fri, 15 Jan 2021 18:16:16 +0000 (UTC) Received: by mail-wr1-x42c.google.com with SMTP id 7so2972813wrz.0 for <dri-devel@lists.freedesktop.org>; Fri, 15 Jan 2021 10:16:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=GmnTQYGZFT8V4aHtRElOATkEuVPQEpEkCVYessHQgb4=; b=ao9i4vgDHHQIUekQ87MHFQREuE2D0YpI1oA3cL0opjewp4Err83XY74KoQW+PUQcRb 5/OpZ0hdYs3gjXlaP4yjSWRMs8fpNjQkP5N5s+0qHuSdnNtrQNkslDD5dTRBpdk81T82 4WPof4xIye7KPIpjykKw+as/Cvbr9v1Rl35atrE3W11DRTGEVwpo/EwHgUrj5ekuqI7L UUn7enAqQxpHwWjStPF8uo8DaTyvkZ9pdHdvzPePM1Q8OkvY0mpwg96l4+z6Iw6+1tC0 bxLNZbk/UNcrrkbxvO9Xtzv6XjYJ/EbZQr8gLmniTqceS+jGGfITIBLFZYamuuJSqY2e Qc5w== 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:mime-version:content-transfer-encoding; bh=GmnTQYGZFT8V4aHtRElOATkEuVPQEpEkCVYessHQgb4=; b=lRQMvVfas8oWuIHdwOovAkCJ5NgCBFhoV7i9I7fxuiJcnequ7f/FHok8Rs/7wJtwU+ Z3ERQ645wqDO3046ARCAih+O9Gvd99WJCCl8l/vScRCYEcsJgmy6P55MSJ1VVX/cpfqE 1+047PpLAIlIcUF1ZOvLn3/DShmmv0kMnOJnIkqBEhZSgagep46cyv0Ar+QIyJovI/FI wvWlVYQqFwU9GFxyguuMQsi/p0XsvdFpoRtYxGCGQpzznoWhY9Z/Gw/ovBUvNut+W694 zzR/6Q9u5BnU21VNeiprrJfDp4sNDRTqKFQ39iKe+VnD+9kPN4RLeRAdP5MIKNBdTpOR Gh5Q== X-Gm-Message-State: AOAM531KFodedmdkuhjDX7cOIHN+Fzz28MK2VjyrZcVKFG+u7kSA88rD WujnqO/jhPD2dHe7UxLZToLfKw== X-Received: by 2002:adf:92a4:: with SMTP id 33mr14241917wrn.347.1610734574855; Fri, 15 Jan 2021 10:16:14 -0800 (PST) Received: from dell.default ([91.110.221.158]) by smtp.gmail.com with ESMTPSA id b133sm14405979wme.33.2021.01.15.10.16.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:16:14 -0800 (PST) From: Lee Jones <lee.jones@linaro.org> To: lee.jones@linaro.org Subject: [PATCH 06/29] drm/gma500/mmu: Actually return an error if one occurs Date: Fri, 15 Jan 2021 18:15:38 +0000 Message-Id: <20210115181601.3432599-7-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210115181601.3432599-1-lee.jones@linaro.org> References: <20210115181601.3432599-1-lee.jones@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 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> Cc: David Airlie <airlied@linux.ie>, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org 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> |
Series |
Finally rid W=1 warnings from GPU!
|
expand
|
diff --git a/drivers/gpu/drm/gma500/mmu.c b/drivers/gpu/drm/gma500/mmu.c index 014daf0280485..13aff19aae9ba 100644 --- a/drivers/gpu/drm/gma500/mmu.c +++ b/drivers/gpu/drm/gma500/mmu.c @@ -681,7 +681,7 @@ int psb_mmu_insert_pfn_sequence(struct psb_mmu_pd *pd, uint32_t start_pfn, if (pd->hw_context != -1) psb_mmu_flush(pd->driver); - return 0; + return ret; } int psb_mmu_insert_pages(struct psb_mmu_pd *pd, struct page **pages,
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/gma500/mmu.c: In function ‘psb_mmu_insert_pfn_sequence’: drivers/gpu/drm/gma500/mmu.c:651:6: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable] Cc: Patrik Jakobsson <patrik.r.jakobsson@gmail.com> Cc: David Airlie <airlied@linux.ie> Cc: Daniel Vetter <daniel@ffwll.ch> Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones <lee.jones@linaro.org> --- drivers/gpu/drm/gma500/mmu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)