Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp6816741rwr; Tue, 2 May 2023 06:05:28 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4JeB1T1rcVISJPkRg8A0r0shoyDCuUwLd38LXXBbAeL570dzBtujOuj44AKvPehEh8waqS X-Received: by 2002:a17:902:dad1:b0:1a9:5c41:3f8e with SMTP id q17-20020a170902dad100b001a95c413f8emr22091495plx.42.1683032728570; Tue, 02 May 2023 06:05:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683032728; cv=none; d=google.com; s=arc-20160816; b=WyvUG3cO75TO9aEhpB/FEc2gUE6qkGNLWUIVvkqNPg34Hy/dkwzexThqgnHsqbeNEF +M/RdpuYDM+FocS6UO6eF3Bva9wtnxfX3N0klpOnrtaNUTDOAWYqbGcX7brsFB+d9T+b 6Qo2i4iykoqqEIvp+HdFGgjkWqTLPN9PcwZi/4IhUVTO86Cahu7s1AhSXHgHjJt9Gfiq Wnfx6jPvCR6uHPfmZtvbm44EIvbdqa6YhT5U3UDK7BhMKqsSUFAcX+SsAfzrrMTHumKJ nBFPsp8LpcLNMwNILWVKrC7POnGokCbKLv1yrNfhKP/hMvN4oV8GMfkmr/+47AMgyBUs ZpUA== 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=5H+Zv5ICW1VCcW395141Sp0h6W5rJmhJkcf3cNntk1k=; b=vdVFO0kqavygEMNPTyKbu+hFv2/Sx1BmSNZryPGG93ilqwLa61hgtNmFHTaGMI53Lj 1cJDEYy8e725EhKzSGF8mgBfeIxrgMQOlitZyUVJQ9FeIckF//A09Qd8nxqm22lLQerU 7kcBY8228Sluyg6tT4YfOLDpxicYB+4lVs6YS3l7LDq+hnsCC21JQKT3OKbJMemqEWut TGfRXiALeMsglmjAd15FDWHr1cq4Bb5jtldqgugi0YsOikw5/hlCiI09/5CTCtzBUbkq sflm2KA8eaai2wimCc0w7I5+NrhTlgXtWgYseVRv6MDPMQpsyvnRJFtNRce/aGVDWbnY mzAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=1vR+ETUx; dkim=neutral (no key) header.i=@suse.de; 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 x23-20020a170902b41700b001aaf7c4664bsi4207211plr.650.2023.05.02.06.05.08; Tue, 02 May 2023 06:05:28 -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=1vR+ETUx; dkim=neutral (no key) header.i=@suse.de; 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 S234318AbjEBNCi (ORCPT + 99 others); Tue, 2 May 2023 09:02:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41578 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234275AbjEBNCb (ORCPT ); Tue, 2 May 2023 09:02:31 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 765206196; Tue, 2 May 2023 06:02:28 -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 2E43A21B1C; Tue, 2 May 2023 13:02:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1683032546; 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=5H+Zv5ICW1VCcW395141Sp0h6W5rJmhJkcf3cNntk1k=; b=1vR+ETUxDfsc2rHvp7qUThXMhyo+PDl0wJzW/O/MNiCWy2QKylJ0tn1CT4xGcGQvD2uD8u i/0Y7QIbt2kYrxkY6kC7dtKBKkknHsMrK7F5dJH0xSeaBCquX/uj4klmSnYlKwbhuB37/o gGEVR7DUdRHbSF0Ot8YETAAsOg117mo= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1683032546; 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=5H+Zv5ICW1VCcW395141Sp0h6W5rJmhJkcf3cNntk1k=; b=sUEmSt7fBBh+tfNGpVJTkvIUwNAehNlqzxZUl9Hrcvm1mH+1S14snmMjTHwfTqBTFtHVVg LRiCLONY8KbwhAAw== 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 BF02B139D2; Tue, 2 May 2023 13:02:25 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id UICJLeEJUWRYTQAAMHmgww (envelope-from ); Tue, 02 May 2023 13:02:25 +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 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 v3 1/6] fbdev/matrox: Remove trailing whitespaces Date: Tue, 2 May 2023 15:02:18 +0200 Message-Id: <20230502130223.14719-2-tzimmermann@suse.de> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230502130223.14719-1-tzimmermann@suse.de> References: <20230502130223.14719-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 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: Sam Ravnborg --- 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