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