Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp3939948rwp; Sat, 15 Jul 2023 12:35:51 -0700 (PDT) X-Google-Smtp-Source: APBJJlGyZNX2RV4HX4hX6gkAO6eLKH4LLUTt+q0X7Ios4y7z9oGC/lLdyQIY6X2EgX+hl2LBUVs9 X-Received: by 2002:a05:651c:2124:b0:2b6:b7ae:94e5 with SMTP id a36-20020a05651c212400b002b6b7ae94e5mr5961165ljq.4.1689449751458; Sat, 15 Jul 2023 12:35:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689449751; cv=none; d=google.com; s=arc-20160816; b=yQ08hx4kQOuIHEwdA5K+qM0IauEC6RHavRCBgydqRdvix5Oze6R3iAUsgBoGdN6X4b iIyINWQI8m6+8r+W41mZs8t3O9/P4+Ng7xzLFp5r6Rdi2CROcdIHigWo7L0mtnqkPLFt L+DGpDobZKjjORjDCeK76HYugXVWEco0PF7DpH71HD/5wY/VwoKHC4IDjPEHOoyYwB4K cZlIBVWzX4JHd7dZqoJIzvO2xYeEmJhddEy+cmwhRJHMvfK++wy1kqSrUJfHLFuTozSM 1b6zSpnFD5fg97xSzP3Bu0iuAnzqJ/v9aIroU580kMdnEXCKQM5oAQyMnini4SJnTbSg lTzA== 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=ucmT+1GLTDoqupQ1pU8mLni2ss8QN6gSt8DgqXn9pcI=; fh=YTnRr2rtaOv/simLXC1tQC1/aSnRMsRamdiQFO2K3GA=; b=W3CxSqLzHmi2fC48RJgccOUwLiTygLue7+st7TMYIc+69Qv+Vi0k1Yt6V6RqaHN+VY PGt0L/zR3aMANH+GYSoT1ip8pIRAURbBt+zldhJmr1zLtYeu/d+knPDjEZ9XyW2MdtJD CIdoUeg0GYuRW7/IFcZCFNoT9hsEon1fySe9kp5GEClSCEclMd57vPlQ88JxlVVfzAlF 1OWMqm1WX8361By3UrQU9XSltPS9cQIeaXefsurQjKAPGb2DlzGnJ1MuMy5wAL+B0lcU BgOZXZ7QhrYs+i4gRR4I//2gmyznEWhSkJPwvSaRK0Spzs54wu5f5koCkCpH5UbhZh/3 ttxg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=U7I6Ofdn; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b="zodS/0Mi"; 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 x11-20020a170906804b00b00987c203c563si2895812ejw.182.2023.07.15.12.35.27; Sat, 15 Jul 2023 12:35:51 -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=U7I6Ofdn; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b="zodS/0Mi"; 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 S231594AbjGOSya (ORCPT + 99 others); Sat, 15 Jul 2023 14:54:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50158 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230489AbjGOSyC (ORCPT ); Sat, 15 Jul 2023 14:54:02 -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 2613A30FB; Sat, 15 Jul 2023 11:53:59 -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 942EA21AFF; Sat, 15 Jul 2023 18:53:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1689447232; 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=ucmT+1GLTDoqupQ1pU8mLni2ss8QN6gSt8DgqXn9pcI=; b=U7I6Ofdn50Yf9J74ZtjzhcPb1eUY5MGKkR4WnpQVALNXaiKN//sbzJp0VKaiQDbFUHoJd+ g3ibnCscc4eYNFuu3i/Ru6lDZdPewBUFWtEf61mf90/4BgfiZVPPepyAANBCDpp76mPVJN 76Of4SripwDbtbBMa+1AvurWqxMeTkw= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1689447232; 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=ucmT+1GLTDoqupQ1pU8mLni2ss8QN6gSt8DgqXn9pcI=; b=zodS/0MiChj1HWAYZLqS+sr/v4lQteaizZGRmmzdz1I7jh4YQE4fUcrEO0Ar1sQrfFjbYY l5Y1QWABgAvcaIBg== 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 3290A133F7; Sat, 15 Jul 2023 18:53:52 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id QMNzC0DrsmQCBwAAMHmgww (envelope-from ); Sat, 15 Jul 2023 18:53:52 +0000 From: Thomas Zimmermann To: deller@gmx.de, javierm@redhat.com, geert@linux-m68k.org, dan.carpenter@linaro.org Cc: linux-sh@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, linux-input@vger.kernel.org, linux-media@vger.kernel.org, linux-fbdev@vger.kernel.org, linux-staging@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-geode@lists.infradead.org, linux-hyperv@vger.kernel.org, linux-omap@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, kvm@vger.kernel.org, Thomas Zimmermann , Sam Ravnborg Subject: [PATCH v4 15/18] fbdev/atafb: Remove flag FBINFO_FLAG_DEFAULT Date: Sat, 15 Jul 2023 20:51:57 +0200 Message-ID: <20230715185343.7193-16-tzimmermann@suse.de> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230715185343.7193-1-tzimmermann@suse.de> References: <20230715185343.7193-1-tzimmermann@suse.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, 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 The flag FBINFO_FLAG_DEFAULT is 0 and has no effect, as struct fbinfo.flags has been allocated to zero by a static declaration. So do not set it. Flags should signal differences from the default values. After cleaning up all occurrences of FBINFO_DEFAULT, the token will be removed. v2: * fix commit message (Miguel) Signed-off-by: Thomas Zimmermann Acked-by: Sam Ravnborg Cc: Helge Deller --- drivers/video/fbdev/atafb.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/video/fbdev/atafb.c b/drivers/video/fbdev/atafb.c index 2bc4089865e6..c4a420b791b9 100644 --- a/drivers/video/fbdev/atafb.c +++ b/drivers/video/fbdev/atafb.c @@ -3112,7 +3112,6 @@ static int __init atafb_probe(struct platform_device *pdev) #ifdef ATAFB_FALCON fb_info.pseudo_palette = current_par.hw.falcon.pseudo_palette; #endif - fb_info.flags = FBINFO_FLAG_DEFAULT; if (!fb_find_mode(&fb_info.var, &fb_info, mode_option, atafb_modedb, NUM_TOTAL_MODES, &atafb_modedb[defmode], -- 2.41.0