Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp2089375rwr; Fri, 28 Apr 2023 06:09:31 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6PGxYmGjZ8EbRsvCozE51UUNac5S+RgcWOhrzYvwuuu+C/xHsTCERgxGCS8cr1901os+Aj X-Received: by 2002:a25:410b:0:b0:b8f:557e:d76c with SMTP id o11-20020a25410b000000b00b8f557ed76cmr4386202yba.25.1682687371293; Fri, 28 Apr 2023 06:09:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682687371; cv=none; d=google.com; s=arc-20160816; b=asGPW6otVCrfAXqRtD2PooJUcgkgVOXxuxa5Dhwla+f20uftc9pgygLmhY7DjhAsav vt/FPHj7J04CgLgIO67BWedrv5XCcc2P70lNb8M7cVioDx9X8aoB1G3KGNYLwPZhdbR1 geZ20ZUQBc6zy9TJQGz199Y0ynUyUUA8oPnTQJ/uU4PSLDpx7XUvJWAlPYfhM8vFjo7e 962Vwf0fcIdZ1ud+B6FcDZ7unUrOp2o+o/LuNpvX/UnKfF9b7xZf33VRjWSWSOL9egTL ieQNP5z/MJ6ka0TOhG08A9tCerzHDhb07axfzmj5gbxhLgRcd3JNyrSIc5/UqX4o5+a+ b4kA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature :dkim-signature; bh=m4sJ+fThLhFeWg7X6kLvwa3/DCsUq6Addkr6Ox/63p0=; b=qnA12bQTvSwXvWXOMsxVeqPY5REZFYe7Rz2EzqMLL4A4GuFzsgKIYZmrTOAgRhwiFh ngVFbeUmOgDYHlaVXzRzd9qpTzZMR1fnmx9uhJIlVuOpOCXaxNTBZWnBpC+DV2JBz01A TVFm73kTWGcAxTN7ovDp1FID1MLLWBse0p3wo2WMAqtBA9bcf1fxsJbfIVY/zrHQ277x 87fo/uRKR1mLrsBhsnuVr6hLtkekcDfQQjsobIOjO36bE5izfpu7SgEeNO8Dsp9E1WwC 34UmRHQnrpcUitszDDjogP9L0WvpuBbJJD4cBUxN/SkBKccEKSy3XWJX0WccaC8cJhlT Luug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ravnborg.org header.s=rsa1 header.b=bIWcbnCV; dkim=neutral (no key) header.i=@ravnborg.org header.s=ed1 header.b=qNBtiTic; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w64-20020a254943000000b00b9521edd409si13577017yba.237.2023.04.28.06.09.15; Fri, 28 Apr 2023 06:09:31 -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=@ravnborg.org header.s=rsa1 header.b=bIWcbnCV; dkim=neutral (no key) header.i=@ravnborg.org header.s=ed1 header.b=qNBtiTic; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345489AbjD1NHN (ORCPT + 99 others); Fri, 28 Apr 2023 09:07:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53550 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345999AbjD1NHL (ORCPT ); Fri, 28 Apr 2023 09:07:11 -0400 Received: from mailrelay2-1.pub.mailoutpod2-cph3.one.com (mailrelay2-1.pub.mailoutpod2-cph3.one.com [IPv6:2a02:2350:5:401::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0B89F11C for ; Fri, 28 Apr 2023 06:07:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ravnborg.org; s=rsa1; h=in-reply-to:content-type:mime-version:references:message-id:subject:cc:to: from:date:from; bh=m4sJ+fThLhFeWg7X6kLvwa3/DCsUq6Addkr6Ox/63p0=; b=bIWcbnCVTMxSTG2/SQkpkiauTRzdjLlitM8+y6JLCZq45eKjII3dhIT9CX/k6z3u48vGxGMScqx9G n5WQVZPQD0rNLUlKVdnlAOEvwqZ1sY8/bjLQ4/AuTeSVglaIYAjpG8D201DeL/wpaoJREkGbHO6fJ4 alPDaPVFLLrpGalDRW2MOeDlKD92IsU2Fck6fN4uSatZvzNk1k/kA5Hb8QlXIcz94LDN0CPkMu8YEt hRyeUJJqTKB7xhgnQfl1I0N/pQWQw22WdPWLnymZNB3FBOSYNYaC/7+XDT/spP+i3I7/VmeYNmjE/i PPJfosYGRWa3MwoQwx/hnbJhWvQRNEg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ravnborg.org; s=ed1; h=in-reply-to:content-type:mime-version:references:message-id:subject:cc:to: from:date:from; bh=m4sJ+fThLhFeWg7X6kLvwa3/DCsUq6Addkr6Ox/63p0=; b=qNBtiTicBN3wXCrqOwcNqd0yQGLKWp9PsyJHm2ixxR+jqNPJfF+zvhggJjKoBx35Pnw1WhT1mEY5q gcEohH4AA== X-HalOne-ID: 904541fb-e5c5-11ed-95bb-13111ccb208d Received: from ravnborg.org (2-105-2-98-cable.dk.customer.tdc.net [2.105.2.98]) by mailrelay2 (Halon) with ESMTPSA id 904541fb-e5c5-11ed-95bb-13111ccb208d; Fri, 28 Apr 2023 13:07:04 +0000 (UTC) Date: Fri, 28 Apr 2023 15:07:02 +0200 From: Sam Ravnborg To: Thomas Zimmermann Cc: 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, 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 Subject: Re: [PATCH v2 4/5] fbdev: Include in drivers Message-ID: <20230428130702.GD3995435@ravnborg.org> References: <20230428092711.406-1-tzimmermann@suse.de> <20230428092711.406-5-tzimmermann@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230428092711.406-5-tzimmermann@suse.de> 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_NONE, SPF_HELO_PASS,SPF_NONE,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 On Fri, Apr 28, 2023 at 11:27:10AM +0200, Thomas Zimmermann wrote: > Fbdev's main header file, , includes to get > declarations of I/O helper functions. From these declaratons, it later > defines framebuffer I/O helpers, such as fb_{read,write}[bwlq]() or > fb_memset(). > > The framebuffer I/O helpers pre-date Linux' current I/O code and will > be replaced by regular I/O helpers. Prepare this change by adding an > include statement for to all source files that use the > framebuffer I/O helpers. They will still get declarations of the I/O > functions even after has been cleaned up. When fb.h uses a symbol from io.h, then it shall include that file so it is self contained. So it is wrong to push the io.h include to the users of fb_{read,write,xxx}. Maybe fb.h only uses macros as is the case here, but that is no excuse nt to include io.h. Drop these changes. > Driver source > files that already include convert to . This is a nice cleanup - we should keep that. Sam