Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp683252ybd; Wed, 26 Jun 2019 04:33:42 -0700 (PDT) X-Google-Smtp-Source: APXvYqyT/2ZrtwD6KZzrzzBm2nCTCwt25zlYLslhsJYcCRwY8KqoBL1XcB6g/fsl2AmZK6avd+uD X-Received: by 2002:a17:90a:1951:: with SMTP id 17mr4184166pjh.79.1561548822607; Wed, 26 Jun 2019 04:33:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561548822; cv=none; d=google.com; s=arc-20160816; b=uMOp0r9DolIOmPrnUgkC4yZ/jELIxHacliZQKOBzQsp/QK6j4E2BuSHSIH6hmDQJo2 bUQTeEraZxxNfytXfJzfAJV1+lEG9ukQlqVdtsgOLbKIdfgtrosIWocjCOwcx3mp5+6a bUD8SJqIlE3KNZ38vqCme0FG5vf/aOHvvlp87jNec7IhYj9Y7ZCSm5AnLtgLObNnWW+a FsshmhXWDzXnYS2HPAfwWsTVxgtu46cvE3Bsw8GAqpegq97R+2jCBaVALkMFnA1IZEcz vW/8kboHc5V2KrcS8tMLFK+3yOxUBCQSBjqvI4XfCwXc1JA8e/uiJIBRIVob60nSAJA5 46KQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=EFiHBzZI1cw5JVac1yNuWMK8X26aj/l710dyGuCNgW0=; b=G97AnwenUsbsvnkKk82OtNpoH34I7p/z89qcyJTtVqE0SoBQKmq8K5pOggBmBCUCV+ TggXbxvMOXwDlPrzHKJCMGpEhTlW/64n0aQXoNaxaU79sN5GdvwLjfUUmOM9QMMmzjz+ PxvDON09l9RNU1MnsyvTu/3BlnPTD0tTHgk/nt0lvLXVN3B+3xGuZjNgSexnp3GnHYv1 5DYKeY11W6gjrhzI7H91vSC1K+wVRQuW7zphx/BgUQhE8Ky8BRJJY3fKjMybM1rJFsod vO7jwNv5rtHadlDZQOmtWAPj5Ud5yYMDar+2Z710lmswWJZx00gJzo6OHdIh9B3qomqz xPaQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w184si18099289pfw.271.2019.06.26.04.33.24; Wed, 26 Jun 2019 04:33:42 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727335AbfFZLdN (ORCPT + 99 others); Wed, 26 Jun 2019 07:33:13 -0400 Received: from asavdk4.altibox.net ([109.247.116.15]:46876 "EHLO asavdk4.altibox.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727296AbfFZLdM (ORCPT ); Wed, 26 Jun 2019 07:33:12 -0400 Received: from ravnborg.org (unknown [158.248.194.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by asavdk4.altibox.net (Postfix) with ESMTPS id 7EC2380349; Wed, 26 Jun 2019 13:33:08 +0200 (CEST) Date: Wed, 26 Jun 2019 13:33:06 +0200 From: Sam Ravnborg To: Robert Chiras Cc: Thierry Reding , David Airlie , Daniel Vetter , Rob Herring , Mark Rutland , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-imx@nxp.com Subject: Re: [PATCH v5 2/2] drm/panel: Add support for Raydium RM67191 panel driver Message-ID: <20190626113306.GA24921@ravnborg.org> References: <1561544420-15572-1-git-send-email-robert.chiras@nxp.com> <1561544420-15572-3-git-send-email-robert.chiras@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1561544420-15572-3-git-send-email-robert.chiras@nxp.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-CMAE-Score: 0 X-CMAE-Analysis: v=2.3 cv=VcLZwmh9 c=1 sm=1 tr=0 a=UWs3HLbX/2nnQ3s7vZ42gw==:117 a=UWs3HLbX/2nnQ3s7vZ42gw==:17 a=jpOVt7BSZ2e4Z31A5e1TngXxSK0=:19 a=IkcTkHD0fZMA:10 a=R-vzCapntemROrW6nt8A:9 a=QEXdDO2ut3YA:10 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Robert. On Wed, Jun 26, 2019 at 01:20:20PM +0300, Robert Chiras wrote: > This patch adds Raydium RM67191 TFT LCD panel driver (MIPI-DSI > protocol). I was about to apply these - but I get following warnings during build: CC drivers/gpu/drm/panel/panel-raydium-rm67191.o /home/sam/drm/linux.git/drivers/gpu/drm/panel/panel-raydium-rm67191.c: In function ‘rad_bl_get_brightness’: /home/sam/drm/linux.git/drivers/gpu/drm/panel/panel-raydium-rm67191.c:470:17: warning: unused variable ‘dev’ [-Wunused-variable] struct device *dev = &dsi->dev; ^~~ /home/sam/drm/linux.git/drivers/gpu/drm/panel/panel-raydium-rm67191.c: In function ‘rad_bl_update_status’: /home/sam/drm/linux.git/drivers/gpu/drm/panel/panel-raydium-rm67191.c:492:17: warning: unused variable ‘dev’ [-Wunused-variable] struct device *dev = &dsi->dev; ^~~ Please fix and update your scripts to catch this in the future. Sam