Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp2130407rwp; Fri, 14 Jul 2023 00:55:08 -0700 (PDT) X-Google-Smtp-Source: APBJJlH+OfNOlmRwROj9wCXooKCQwZYg5mkJDLxjk2mXgwdTvLhHs32ZmBfdB9HviGdXbdcSEJkS X-Received: by 2002:a17:906:151:b0:991:d2a8:6588 with SMTP id 17-20020a170906015100b00991d2a86588mr3982505ejh.51.1689321308057; Fri, 14 Jul 2023 00:55:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689321308; cv=none; d=google.com; s=arc-20160816; b=v8c7PbpdKESRR/fQA9N6gyoHMXgvYuOmdJkHj5azztZjRjkmuI3tVYUuSsdj5EvwX3 /EcYxT6XLLrVlm0rv+L7k0FFryUBoUnVTEv5OKLkpBJL2m7jRHcXus9z3yvequ2faPSN vEkIeQcIgSHxbFhGENpQ6eGg+CahtTN939pWA8D2eTnyZO+6+1q5MTLKe7so/d45cKDD ObUcYRGQgTeviCdTR0eB29ZFcqJGAN5Ur84jrAQbtFMbjkXu3AfceOY8JcxJBhabhyp2 eYlrnfnVMLRfVFKqJ4q1m6nfcHX5DkQ4jwDhzQ8HQ784zr/VdOC0YQyO5AzS7pjrjSjm PTKA== 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=85l2ukO3ODIPQ6vFxAUAj342VQosexDKbJyC6X6EE14=; fh=mvKkI/feN5uBvMvLKron+TT82pNBp6fnqUuM2n/jviQ=; b=TwxXkAfCVQXA2DrcaXnhlNgQKuIhge6ObaKvBLYPr6fPpGLjVMGd6hY9p+9nJdp0Ce ULENVahLYeYkJo1JM/+pjBrVLXag+DmBbU4FkSVjS8RmxFuprrCHnQkvz4EQ/CTyTZ/K Imf4q9i4slGnau2YhppPsR7dKO+QB3DjpPNJrVXMow+rLH/D+Ey76NL8DuXT6GESjFLU cxXPtzX15O3mAr+RMHQmLZJ9lt2FkXx4jmORjaE5okw8wuP6ggbqU7iwaIWhSrtW+bMU soYBMJe6k7D8y9w+wC8nRJoRyxhENDUvfoZrgyOB0bLtb9nzp4g4R7rE9bdma0oTr33y dD3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=EnsEcGyf; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b="XobNV/Jy"; 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 f17-20020a1709064dd100b009893fe84e74si953084ejw.484.2023.07.14.00.54.40; Fri, 14 Jul 2023 00:55:08 -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=EnsEcGyf; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b="XobNV/Jy"; 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 S235520AbjGNHwl (ORCPT + 99 others); Fri, 14 Jul 2023 03:52:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45914 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235550AbjGNHwH (ORCPT ); Fri, 14 Jul 2023 03:52:07 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [IPv6:2001:67c:2178:6::1d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5C3983580; Fri, 14 Jul 2023 00:52:05 -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-out2.suse.de (Postfix) with ESMTPS id C03DB1FDA2; Fri, 14 Jul 2023 07:52:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1689321123; 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=85l2ukO3ODIPQ6vFxAUAj342VQosexDKbJyC6X6EE14=; b=EnsEcGyfqq0kOkgwSp2971OUagS9I6Kq3FS3QoesQxzxxLFVVx7d6xBi6ikOmovOlN0UFl cjgzkl1ESK0UmYPNzY73WQ70pkDJypVKOM2bSx2KDpzLrGwL26zXVu/xcKIWG5P7lQbg0u Ukuv1XG9Sa1kuFa7aM8m2neGM9vAJD8= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1689321123; 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=85l2ukO3ODIPQ6vFxAUAj342VQosexDKbJyC6X6EE14=; b=XobNV/Jyb9yCeCLMoY/RztAO2gLUJ7Y86K4bpgtvqUqM9MRG0fSo/a+bslAULLcDQ+y/T9 j4E7DndDgNbWCZBw== 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 77CB513A15; Fri, 14 Jul 2023 07:52:03 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id YJt0HKP+sGQCQwAAMHmgww (envelope-from ); Fri, 14 Jul 2023 07:52:03 +0000 From: Thomas Zimmermann To: deller@gmx.de, javierm@redhat.com 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-nvidia@lists.surfsouth.com, 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 v3 16/18] fbdev/pxafb: Remove flag FBINFO_FLAG_DEFAULT Date: Fri, 14 Jul 2023 09:49:42 +0200 Message-ID: <20230714075155.5686-17-tzimmermann@suse.de> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230714075155.5686-1-tzimmermann@suse.de> References: <20230714075155.5686-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 devm_kzalloc(). 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/pxafb.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/video/fbdev/pxafb.c b/drivers/video/fbdev/pxafb.c index c8c4677d06b4..beffb0602a2c 100644 --- a/drivers/video/fbdev/pxafb.c +++ b/drivers/video/fbdev/pxafb.c @@ -888,7 +888,6 @@ static void init_pxafb_overlay(struct pxafb_info *fbi, struct pxafb_layer *ofb, ofb->fb.var.vmode = FB_VMODE_NONINTERLACED; ofb->fb.fbops = &overlay_fb_ops; - ofb->fb.flags = FBINFO_FLAG_DEFAULT; ofb->fb.node = -1; ofb->fb.pseudo_palette = NULL; -- 2.41.0