Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp754961rwr; Wed, 26 Apr 2023 06:06:39 -0700 (PDT) X-Google-Smtp-Source: AKy350Y3zanmiSlwqGS9ZVfn1Fs1soj783ZWuAR7+s0YEHIDLR+g1XfHKJU4F667MiwXQv4IgPPo X-Received: by 2002:a05:6a00:230b:b0:63b:8778:99e4 with SMTP id h11-20020a056a00230b00b0063b877899e4mr30287542pfh.2.1682514398678; Wed, 26 Apr 2023 06:06:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682514398; cv=none; d=google.com; s=arc-20160816; b=VQUvyl2wzaPKryaUkVNWXFyI/Uv2cwWuaVBlxHeq9bFE/qujPt8VogYDgz5l+TdXrR A42i9i3ImdvNE9Vg/PfvbYWCITbBfuDCiKEpJ46p4vkrUHAV8Zu2EieZtJhMFDZtK5Vg jlBXLpJ3E36FxfDln8ta7GcloDb7u8XvMdsK54d8Hu2raq4UJlQCmfziIymxtd5rsHtd GEBJ6ka4v20dZkYrFS2RPbvrZYbUgSt0gZGgIDh8PbLuaCyxQOw+4DNDqY1GPzpyDRT7 5RskDINBzNnRfcTf1lAMVGTkjQ40XSgTj/lQY0vGl055DKBXnXVZqxSQ91KC81DQW/2Q gnHA== 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=R/tS9JBmx3EXdW6NzCCqF9BfBp/DOJu84iEDqCwvGtE=; b=nZfpV10nSdi17oCJtPvwmY2SDuedkDDCgLCrn7Qf4cS5o3+cV/FhUFOVW/84LH9ffe T5hTIz8/gz8NHqdlFW91ukE78FOiIQh2nJsCoZQNHWY/7pPDQpVTy0SnKvNnGPwFoCBQ SaaN5jwLIRM0atq4Wqlq4rlzSfSMR5PEz400kVCNaxU6TtHriUkQixdir5nGs95X5AfM KzALKRY0gpDGHXS6nzwmC43Z2kwRGIuWqKG31MCNrIKKFbH9rpVslU1IlyQ9pzz9qFIs rAzw4vRbGd+gwo+KsWbOIceGwgi1vQF4GrN45zDcdpG4NMixwWyNZ5Pfc0WEANZ00RVR wzAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=pf2jdoQu; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=Yq01Y2RN; 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 b7-20020aa78ec7000000b0063b56b7ba82si16174982pfr.189.2023.04.26.06.06.11; Wed, 26 Apr 2023 06:06:38 -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=pf2jdoQu; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=Yq01Y2RN; 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 S240676AbjDZNEe (ORCPT + 99 others); Wed, 26 Apr 2023 09:04:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38538 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240926AbjDZNE1 (ORCPT ); Wed, 26 Apr 2023 09:04:27 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [IPv6:2001:67c:2178:6::1c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C01DA4222; Wed, 26 Apr 2023 06:04:24 -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 5779E219F4; Wed, 26 Apr 2023 13:04:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1682514263; 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=R/tS9JBmx3EXdW6NzCCqF9BfBp/DOJu84iEDqCwvGtE=; b=pf2jdoQuLXLEmqU0sFXMpKFlJCsTHHwRDYNU4BNnvQXTkA98WPu2gzDm6GA3ypel97nzLP 9EjbIDTu6Un6+cs2RDQ9WFelQ9dL9mptO3vVobXz0AgPfI46Q+VRyHv+wC5rqCATwb8HP/ 4cbChpgnK0KFjiKQvoMPDl7/SD/moLc= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1682514263; 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=R/tS9JBmx3EXdW6NzCCqF9BfBp/DOJu84iEDqCwvGtE=; b=Yq01Y2RNfXK+Co8xkAY+279QKnS5BApZr1Ak7VpGfxLqwix/BjGADfnv7n56T+c39oiB2M zjBphhE/2LbMnxBg== 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 ECD0B1390E; Wed, 26 Apr 2023 13:04:22 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id WOjqOFYhSWSBMgAAMHmgww (envelope-from ); Wed, 26 Apr 2023 13:04:22 +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 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 1/5] fbdev/matrox: Remove trailing whitespaces Date: Wed, 26 Apr 2023 15:04:16 +0200 Message-Id: <20230426130420.19942-2-tzimmermann@suse.de> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230426130420.19942-1-tzimmermann@suse.de> References: <20230426130420.19942-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=ham 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 --- 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.0