Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp7107480rwr; Wed, 10 May 2023 04:07:31 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ576nc1kD63GvMZ81n7iJC3huoJEJMLF8Ms8hBQYhTEynEv4fzyltwT+/wVcXLrs9blSGTL X-Received: by 2002:a05:6a00:1311:b0:645:7c61:b99a with SMTP id j17-20020a056a00131100b006457c61b99amr15563087pfu.21.1683716850678; Wed, 10 May 2023 04:07:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683716850; cv=none; d=google.com; s=arc-20160816; b=jDUKaZ61JwgukqYcADCMFDnga27y3h6DTnrxIj06LHZMV+KFDw9YIEbamvHb8/pz6G /N1x1h8sWTy2U+5BTQ2LWTuIPuFpaQwcCjJP5dzzoCwWi0w7kaRB/JftFHdTLYya/7pD PUs2+J5cf82yyh8aEvDitSh6jWNkJui4ttiqdkITx2jJQ5NWxXGTn3j9X18dh3q94IEi P2E0/37xzGxanMTlNi3vjBXyfZPAdvGkmjHpjCwtfAEY/NR25lRpjcqbTWLQxBWfidUl vSqmWbysAZKM3YbMZx32QWFP2T+FYtUtjTv1raMva2oAU3ZxqOVZr0ZReb5iyI6z+iNO CxQA== 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:dkim-signature; bh=ZAByYFXXfyQ6LxBft8mvuJgV6t/OqQpXaQEUtMHX5eg=; b=xgJlJsilmMdk5NZfzAAf+UNvsmOuLh0okZLgaI1a0LZc9qloQt0eaLQK/wAwuKC6wi 0MKx7bkfqHqHFTViho6c586UPopYBhcryVM49vvnXTflMrz9tMy0FL4pzAdD6ZCPvvD4 MghItVstpstqxUymzLfmn2I7vPMyfOmj7zbkfYBsx2BRfyMZnKoM9SQHsTgT3D+tu3m/ SiHA+qfX8oQ2OXQCqLDHoXQCX13bMMB0pLB0R9qupS6RqixDnaoCEzfunW0dKXvGaWGz lyHM1t2vO+PiRu41grJzOs2E3dOvRW1rVctAup0ZW9NbM+nYdUl+wiE5oCrSnipcywy/ SJiw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b="Mba/KF5a"; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=ITTRgs+P; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j8-20020a636e08000000b0052c9458bc07si3835905pgc.468.2023.05.10.04.07.17; Wed, 10 May 2023 04:07:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b="Mba/KF5a"; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=ITTRgs+P; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236766AbjEJLGh (ORCPT + 99 others); Wed, 10 May 2023 07:06:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34878 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236497AbjEJLGK (ORCPT ); Wed, 10 May 2023 07:06:10 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9F6071732; Wed, 10 May 2023 04:06:07 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 24FA82190B; Wed, 10 May 2023 11:06:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1683716766; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ZAByYFXXfyQ6LxBft8mvuJgV6t/OqQpXaQEUtMHX5eg=; b=Mba/KF5amM7QFhxJldTbd5AzAgkZUrqq7DBxlU1f3mDCQfP2Uj/aS8FaPPyK0H9z1Uw0F0 gtM8e2luCzf+g6jCBUx1c00bF/0NOss+8WfIeNjvpTxJ7pG0snsnBAZ+IG7tYyAYmmO+hk rHcM1pecezhaFC4jcO1sv9JJR2dZQG4= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1683716766; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ZAByYFXXfyQ6LxBft8mvuJgV6t/OqQpXaQEUtMHX5eg=; b=ITTRgs+P4mlv6g3X5UhaGrvyDfxHKD7SSBdDzwNcP9D8LVOnGNJLVuIlGhQNabr7kP+DMg V2Q/OM83V3XFSuDw== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id B6B37138F0; Wed, 10 May 2023 11:06:05 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id YHKJK516W2QfRAAAMHmgww (envelope-from ); Wed, 10 May 2023 11:06:05 +0000 From: Thomas Zimmermann To: deller@gmx.de, geert@linux-m68k.org, javierm@redhat.com, daniel@ffwll.ch, vgupta@kernel.org, chenhuacai@kernel.org, kernel@xen0n.name, davem@davemloft.net, James.Bottomley@HansenPartnership.com, arnd@arndb.de, sam@ravnborg.org, suijingfeng@loongson.cn Cc: linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-arch@vger.kernel.org, linux-snps-arc@lists.infradead.org, linux-kernel@vger.kernel.org, linux-ia64@vger.kernel.org, loongarch@lists.linux.dev, linux-m68k@lists.linux-m68k.org, sparclinux@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-parisc@vger.kernel.org, Thomas Zimmermann Subject: [PATCH v6 1/6] fbdev/matrox: Remove trailing whitespaces Date: Wed, 10 May 2023 13:05:52 +0200 Message-Id: <20230510110557.14343-2-tzimmermann@suse.de> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230510110557.14343-1-tzimmermann@suse.de> References: <20230510110557.14343-1-tzimmermann@suse.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix coding style. No functional changes. Signed-off-by: Thomas Zimmermann Reviewed-by: Arnd Bergmann Reviewed-by: Sam Ravnborg Reviewed-by: Sui Jingfeng Tested-by: Sui Jingfeng --- drivers/video/fbdev/matrox/matroxfb_accel.c | 6 +++--- drivers/video/fbdev/matrox/matroxfb_base.h | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/video/fbdev/matrox/matroxfb_accel.c b/drivers/video/fbdev/matrox/matroxfb_accel.c index 9cb0685feddd..ce51227798a1 100644 --- a/drivers/video/fbdev/matrox/matroxfb_accel.c +++ b/drivers/video/fbdev/matrox/matroxfb_accel.c @@ -88,7 +88,7 @@ static inline void matrox_cfb4_pal(u_int32_t* pal) { unsigned int i; - + for (i = 0; i < 16; i++) { pal[i] = i * 0x11111111U; } @@ -96,7 +96,7 @@ static inline void matrox_cfb4_pal(u_int32_t* pal) { static inline void matrox_cfb8_pal(u_int32_t* pal) { unsigned int i; - + for (i = 0; i < 16; i++) { pal[i] = i * 0x01010101U; } @@ -482,7 +482,7 @@ static void matroxfb_1bpp_imageblit(struct matrox_fb_info *minfo, u_int32_t fgx, /* Tell... well, why bother... */ while (height--) { size_t i; - + for (i = 0; i < step; i += 4) { /* Hope that there are at least three readable bytes beyond the end of bitmap */ fb_writel(get_unaligned((u_int32_t*)(chardata + i)),mmio.vaddr); diff --git a/drivers/video/fbdev/matrox/matroxfb_base.h b/drivers/video/fbdev/matrox/matroxfb_base.h index 958be6805f87..c93c69bbcd57 100644 --- a/drivers/video/fbdev/matrox/matroxfb_base.h +++ b/drivers/video/fbdev/matrox/matroxfb_base.h @@ -301,9 +301,9 @@ struct matrox_altout { int (*verifymode)(void* altout_dev, u_int32_t mode); int (*getqueryctrl)(void* altout_dev, struct v4l2_queryctrl* ctrl); - int (*getctrl)(void* altout_dev, + int (*getctrl)(void *altout_dev, struct v4l2_control* ctrl); - int (*setctrl)(void* altout_dev, + int (*setctrl)(void *altout_dev, struct v4l2_control* ctrl); }; -- 2.40.1