From patchwork Wed Apr 14 18:10:57 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 421118 Delivered-To: patch@linaro.org Received: by 2002:a02:c4d2:0:0:0:0:0 with SMTP id h18csp3777691jaj; Wed, 14 Apr 2021 11:12:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyF3shF/8+Lfw6DXSGSlhNxUPI+ICi/+HvPSiihplh5Nz4X+Hld4YUABHmIV3BWf7vZFtZu X-Received: by 2002:a17:907:9485:: with SMTP id dm5mr175926ejc.194.1618423929792; Wed, 14 Apr 2021 11:12:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618423929; cv=none; d=google.com; s=arc-20160816; b=Ew2kHsmwMkMw8jJrUxylXybeaDOnUP+ZPXxGHfEiRHBFdamt/qDIL+96f1deRywHJ/ 1VxYVCxR3yPVboeq18pYWHUouytx4TDuLhPNKhKjV93uJQSVRYMIS4egXOuM1eYL7BP+ kSUEjtN6z+xdKnMKOxdwk+8Thw59RmX388klpPxEDmtp6eqhCNsLWs8MLEB3zNKS0MMD 40WxcCIp5A9UddouoOmnlj96hTSh+je52Nl5nsqapbeXdA5N3lUf5VOhOYk18ybBnKe9 ncQtseAhMr/5i+aYmVCp8dAzRsUsq6XN+2ttfDGmOjX73vRQpyJ/nyXfwZO1pBTmcQl2 6FSg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=a5roCrWCSkmt1RP3Taphq9R1YmlOTY/ma9pHzyYzjyA=; b=cGq5PvXnL35Xwf7dwzFu50WcZvtHWSzimvHvnuVA3+b1qnuvG0hRM6fZiO7bgGP2/i Q/SEn3wOCQe8xd83sBW7Q4/lwYATpZRi7lCI70q7m8O26ky2om16bMYbsK29jSgoarcC X9DvQcf0zOJAJtPr/b8dmJxMWI8p8/iGvYgLqlO58Yh8Eu8Fs5QA14NBTe140XRR+5o6 wqhC6FchKFfvSibeLkNXo8LUXA6l9+jYE96SWiecINdeOLV3bvvXyNNsbJVjIc+R+P23 KvaIaY1hJaf+ZvsbxsRsktBQR14J7BGa1XkvGi9V4kJz20jvs0I1i+onMfI3YkoSDUtP V+7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MoUMuWuF; spf=pass (google.com: domain of linux-fbdev-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-fbdev-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id di25si230214edb.602.2021.04.14.11.12.09 for ; Wed, 14 Apr 2021 11:12:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-fbdev-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MoUMuWuF; spf=pass (google.com: domain of linux-fbdev-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-fbdev-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1351976AbhDNSM1 (ORCPT ); Wed, 14 Apr 2021 14:12:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54960 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1352292AbhDNSMZ (ORCPT ); Wed, 14 Apr 2021 14:12:25 -0400 Received: from mail-ed1-x52a.google.com (mail-ed1-x52a.google.com [IPv6:2a00:1450:4864:20::52a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 23B09C061342 for ; Wed, 14 Apr 2021 11:12:02 -0700 (PDT) Received: by mail-ed1-x52a.google.com with SMTP id h10so24795681edt.13 for ; Wed, 14 Apr 2021 11:12:02 -0700 (PDT) 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=a5roCrWCSkmt1RP3Taphq9R1YmlOTY/ma9pHzyYzjyA=; b=MoUMuWuFAAarvGL1AUHSNosCqD4tw/Pqic0xuy7Q+2iF23t1JCt3Vyp2LV2En4tT/s ZLhySDKnh00w5s9Hofv8uGG4YSUrCQJfEIY/6JjRJWi5uxTcBPKcn/1qzGOnWYUy5aBD GYcuxIxHDSxh6L7X2IHS2s6uvfHGZaYW5JvB1+16BkP0unMj8rJONU+mj8T5OXWirqzb p+JZLMSSa4tBhjuFmYOKCk4KpPrUdtBH+0R/nzJPvk1SWqGko6Q+DkYB75Hu4Yu9dADU oRR/zmrG+1FNpReIHC/lVLPLUn5pq6eyaK8EXs2V4WhulXfnwyHkMojT1oBmIr/xW/yD EIXA== 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=a5roCrWCSkmt1RP3Taphq9R1YmlOTY/ma9pHzyYzjyA=; b=W+4qaGWf58DnSF0HpNDLWQFME6tcEd/w6geK2dbKbyCsR/50jLen8hnFjRVJHYC/2a 24phOmHR51/KJYcooMKLzxboL6Zi+zmKA+jn5LPJhJW310Jk/J0MbpUBUJ47ON618GDp 3bBvWLabmo0ftOwgzIpYPRBGql9u+IxJkSvSgQVjwrfxHqNtdShiHaAdTXugCAuJEFGL 71Qn59fmnhzY/DZNlXeW5awB+Jr8hr1qjhOd6CQff5fThxp3PSjw5G+J9jPWOqTAhS97 ntPk7VaeQefnBlmV+E1/4UDpzP2Un4PLquWfSS/Pe1ZiZAyHrEtwGnJhA+9pFAsBovt1 4MXQ== X-Gm-Message-State: AOAM532zBaNW8HX9kljThxIJKXgl0iF2RCaS9j/DXBRVu5eTErNnom7g 5YnEsbQRuRTn7YnKEnYjcDFC9A== X-Received: by 2002:aa7:ccd0:: with SMTP id y16mr171436edt.101.1618423920890; Wed, 14 Apr 2021 11:12:00 -0700 (PDT) Received: from dell.default ([91.110.221.215]) by smtp.gmail.com with ESMTPSA id v1sm279493eds.17.2021.04.14.11.11.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Apr 2021 11:12:00 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Sudip Mukherjee , Teddy Wang , Greg Kroah-Hartman , linux-fbdev@vger.kernel.org, linux-staging@lists.linux.dev Subject: [PATCH 25/57] staging: sm750fb: sm750_accel: Provide description for 'accel' and fix function naming Date: Wed, 14 Apr 2021 19:10:57 +0100 Message-Id: <20210414181129.1628598-26-lee.jones@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210414181129.1628598-1-lee.jones@linaro.org> References: <20210414181129.1628598-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/staging/sm750fb/sm750_accel.c:155: warning: Function parameter or member 'accel' not described in 'sm750_hw_copyarea' drivers/staging/sm750fb/sm750_accel.c:155: warning: expecting prototype for sm750_hm_copyarea(). Prototype was for sm750_hw_copyarea() instead drivers/staging/sm750fb/sm750_accel.c:321: warning: Function parameter or member 'accel' not described in 'sm750_hw_imageblit' Cc: Sudip Mukherjee Cc: Teddy Wang Cc: Greg Kroah-Hartman Cc: linux-fbdev@vger.kernel.org Cc: linux-staging@lists.linux.dev Signed-off-by: Lee Jones --- drivers/staging/sm750fb/sm750_accel.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) -- 2.27.0 diff --git a/drivers/staging/sm750fb/sm750_accel.c b/drivers/staging/sm750fb/sm750_accel.c index 8faa601c700b2..24b9077a634a6 100644 --- a/drivers/staging/sm750fb/sm750_accel.c +++ b/drivers/staging/sm750fb/sm750_accel.c @@ -131,7 +131,8 @@ int sm750_hw_fillrect(struct lynx_accel *accel, } /** - * sm750_hm_copyarea + * sm750_hw_copyarea + * @accel: Acceleration device data * @sBase: Address of source: offset in frame buffer * @sPitch: Pitch value of source surface in BYTE * @sx: Starting x coordinate of source surface @@ -298,6 +299,7 @@ static unsigned int deGetTransparency(struct lynx_accel *accel) /** * sm750_hw_imageblit + * @accel: Acceleration device data * @pSrcbuf: pointer to start of source buffer in system memory * @srcDelta: Pitch value (in bytes) of the source buffer, +ive means top down * and -ive mean button up From patchwork Wed Apr 14 18:11:10 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 421307 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 46298C43460 for ; Wed, 14 Apr 2021 18:12:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 171E060234 for ; Wed, 14 Apr 2021 18:12:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1352493AbhDNSMn (ORCPT ); Wed, 14 Apr 2021 14:12:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55048 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1349952AbhDNSMl (ORCPT ); Wed, 14 Apr 2021 14:12:41 -0400 Received: from mail-ed1-x52b.google.com (mail-ed1-x52b.google.com [IPv6:2a00:1450:4864:20::52b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 48CB8C061345 for ; Wed, 14 Apr 2021 11:12:15 -0700 (PDT) Received: by mail-ed1-x52b.google.com with SMTP id z1so24829525edb.8 for ; Wed, 14 Apr 2021 11:12:15 -0700 (PDT) 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=XaDqv6uPzP6qKRYwsvhGZokvdMBhemyYbul7hQEy7vM=; b=qrsUqyKwLxiLtTJIKW7zoZJmBwPpulz25SwG7ERZAZkWHwI6CKy4JTKhtvcgtwmYxi DNsRI9oXwnlFM8y1ZQxc5NxqbU2oenwpdvY0dI7NFAKSSY72yhkPKfYTsP+GoSmaRFun 9LnnQ2uT/XyC5zUzBdzaivrAGo0yJfbDbmV4kfBwiXFUHCuFqdGRrS9n9ja+/6f6Wqen vF+5lUDtVuE/cxK/gcDTefDoPSsJPmXWFNHOzAZ2H1Mn32INVKNdqRs7hHCHcoQs4opK 31g/wHsY1AJ7spPFjrWUHTvT3cyV4tzX1N7oEfwvnqqjii2eCm4WJvPbdC01CeZp0qfO lRrw== 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=XaDqv6uPzP6qKRYwsvhGZokvdMBhemyYbul7hQEy7vM=; b=gyb+xZwYuuuQ7xeSBw9ArQzcjTWM6HwH4kIurfN6r/6YvuDmi9I8W1A52TAeWAbwvd rvgaIc0F4po6UKmLhbLzyir5CoYNBmYWKcjeJsDswmUb9mUO2PJNurdE7I42JeXTJKZ7 fNzXvphJTgs78HvQpx9tKEsrUH+6KtQaIVY6BPYohCR5A0tTsqPRqPJ8fWrcTd9qvy84 x2E2ou8/e5r1jbDUpBTWdpfN0yrbn8KlGADzfRt78Gx1nlGW31qg/85GB6UTjONW09P2 HxTrSFFzxwrA+aMNR/Ivn5Hy4mQPoDV4sgBtZy89aIMTcJOj/46c2gXG1qyHyVMMYuMx EaFQ== X-Gm-Message-State: AOAM533/qBOTl5RTu9qx02pyuZltuxz8IcZL/cs3rKmLWguWZFzp32+S H0zXeaSe7RSAWGsVveZj6nYitA== X-Google-Smtp-Source: ABdhPJyFKJ9t/SlxwgkNZtl1Er9EBURioW4mHm6fuoqesYXDLzxQET03VyRMKq1QMeHc3ipnNvmuYQ== X-Received: by 2002:a05:6402:35cd:: with SMTP id z13mr179881edc.21.1618423934063; Wed, 14 Apr 2021 11:12:14 -0700 (PDT) Received: from dell.default ([91.110.221.215]) by smtp.gmail.com with ESMTPSA id v1sm279493eds.17.2021.04.14.11.12.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Apr 2021 11:12:13 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Greg Kroah-Hartman , dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org, linux-staging@lists.linux.dev Subject: [PATCH 38/57] staging: fbtft: fb_ili9320: Remove unused variable 'ret' Date: Wed, 14 Apr 2021 19:11:10 +0100 Message-Id: <20210414181129.1628598-39-lee.jones@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210414181129.1628598-1-lee.jones@linaro.org> References: <20210414181129.1628598-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/staging/fbtft/fb_ili9320.c: In function ‘read_devicecode’: drivers/staging/fbtft/fb_ili9320.c:25:6: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable] Cc: Greg Kroah-Hartman Cc: dri-devel@lists.freedesktop.org Cc: linux-fbdev@vger.kernel.org Cc: linux-staging@lists.linux.dev Signed-off-by: Lee Jones --- drivers/staging/fbtft/fb_ili9320.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/fbtft/fb_ili9320.c b/drivers/staging/fbtft/fb_ili9320.c index f2e72d14431db..f0ebc40857b34 100644 --- a/drivers/staging/fbtft/fb_ili9320.c +++ b/drivers/staging/fbtft/fb_ili9320.c @@ -22,11 +22,10 @@ static unsigned int read_devicecode(struct fbtft_par *par) { - int ret; u8 rxbuf[8] = {0, }; write_reg(par, 0x0000); - ret = par->fbtftops.read(par, rxbuf, 4); + par->fbtftops.read(par, rxbuf, 4); return (rxbuf[2] << 8) | rxbuf[3]; }