Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp1834931rwr; Fri, 28 Apr 2023 02:27:55 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7uGmKSWlk9KfbewYdShZKPVO5gSWsYVeaU8YPGaLHyggxbXdVEvR4qfj7fWpGFbvnTUUp0 X-Received: by 2002:a17:902:e841:b0:1a2:296:9355 with SMTP id t1-20020a170902e84100b001a202969355mr5647553plg.16.1682674075045; Fri, 28 Apr 2023 02:27:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682674075; cv=none; d=google.com; s=arc-20160816; b=Ok8l2yjwvsAEFkeMlCCC3qolZcjDAHO0cuhiM4prAh2bsZAnY2m5yB+v4KZfkFX4yh WTuB8kNCUlk3bRF/jx5z39Oft53us+jlj2/Bm3VEOD94/hiLvFQv2IXWv06GReuF5Kyv YlImBkRQ2jTkkPLlM87CMtsSp3GulG1DOGnwlu9kYj/jAfskEQDKX2q5CGUnITLo3Ef9 q5Lupm89/IQ8r5xN1NM6mqVu3ncIUG6nadmyZ7CbC/qL0QjrBolrdDF6dIFkSbgoUMZa jQkyw0qZelgedTc9qA0xqgUgwBPFlHSFkt5aJVzHnJEB07dRU/XJWfloXDR80QD9QGjA axcg== 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=KrCDbEMD/pGtoWaBoUUwb1F5JO/6PxFbFQgG2hROdd27gOd/OSV1VEj3YO2b5GkACN 9JWUkC4I496mcfkWGqLlU3kokMDRlUDrL527ONKP3eOZ2hbi5wi89bPxi0ijpi1svIbW U6PJkFlptRdzU8BMe3t0knVU+7Nea9R0yS1Y0VDrqqvrMKlWdc25o735KQwq+2uAuiFZ tqwF3dQFkTjEjQn+aduUdqzgt9OasaaquRRRVJdqvIFIut7EqmHeR6OGn+hjcM4kyW3g ec8gn9dcztZabMfsVpvjI74hHcK2+dfm9Iv5/d9rlQPKcF5YzB0x3h1JhvhtnHgBgtQZ uYrQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=wKxtEH3A; dkim=neutral (no key) header.i=@suse.de header.b=B8IcnCwT; 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 n5-20020a170903110500b001a6b6085041si22846737plh.512.2023.04.28.02.27.38; Fri, 28 Apr 2023 02:27:55 -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=wKxtEH3A; dkim=neutral (no key) header.i=@suse.de header.b=B8IcnCwT; 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 S1345665AbjD1J1U (ORCPT + 99 others); Fri, 28 Apr 2023 05:27:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48796 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229823AbjD1J1Q (ORCPT ); Fri, 28 Apr 2023 05:27:16 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 244D930D2; Fri, 28 Apr 2023 02:27:15 -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 9E3EC21E77; Fri, 28 Apr 2023 09:27:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1682674033; 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=wKxtEH3AScg58g5NxG0UbfbNTtkJ6JeTguhi0yuaWoVWndHRO9PO2Cf2ngyyGZzklX0dlO rhmnAwE7AgpYoQ4Eo2vXMaT2+AzViZ8qqjtoGII7az2G3WnAitfDMDl2xQ5klB9iTSkfwE b8WC6nl9qEmBzJMny3Akxy9v19U7+9M= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1682674033; 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=B8IcnCwTx9BI4HcJ/KMkG8g3A2nmCE6/2KeuB/KX+ZyJL+mELGUWP9cxf9z9UYuIKVsN/x hrdnpVdBZlAPwVDA== 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 3D5DD139C3; Fri, 28 Apr 2023 09:27:13 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id oC0kDnGRS2ReFwAAMHmgww (envelope-from ); Fri, 28 Apr 2023 09:27:13 +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 v2 1/5] fbdev/matrox: Remove trailing whitespaces Date: Fri, 28 Apr 2023 11:27:07 +0200 Message-Id: <20230428092711.406-2-tzimmermann@suse.de> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230428092711.406-1-tzimmermann@suse.de> References: <20230428092711.406-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