From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: From: Arnd Bergmann Subject: Re: [PATCH V2] debugfs: don't assume sizeof(bool) to be 4 bytes Date: Tue, 15 Sep 2015 08:30:55 +0200 Message-ID: <11729827.zzMdq0fFyE@wuerfel> In-Reply-To: <20150915020438.GG32551@linux> References: <81516fb9c662cc338b5af5b63fbbcde5374e0893.1442202447.git.viresh.kumar@linaro.org> <20150914160348.GA7290@kroah.com> <20150915020438.GG32551@linux> MIME-Version: 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "ath10k" Errors-To: ath10k-bounces+kvalo=adurom.com@lists.infradead.org To: Viresh Kumar Cc: "moderated list:SOUND - SOC LAYER / DYNAMIC AUDIO POWER MANAGEM..." , Avri Altman , Stanislaw Gruszka , Jiri Slaby , "open list:DOCUMENTATION" , Peter Zijlstra , Catalin Marinas , Sebastian Andrzej Siewior , Jaroslav Kysela , "open list:MEMORY MANAGEMENT" , Kalle Valo , Emmanuel Grumbach , Luciano Coelho , Richard Fitzgerald , Ingo Molnar , Hariprasad S , Thomas Gleixner , Davidlohr Bueso , Eliad Peller , Joonsoo Kim , Jonathan Corbet , Joerg Roedel , "open list:WOLFSON MICROELECTRONICS DRIVERS" , Sebastian Ott , "open list:QUALCOMM ATHEROS ATH10K WIRELESS DRIVER" , Intel Linux Wireless , "open list:ACPI" , Dmitry Monakhov , Nick Kossifidis , Doug Thompson , Gustavo Padovan , Sasha Levin , Tomas Winkler , sboyd@codeaurora.org, "open list:B43 WIRELESS DRIVER" , linaro-kernel@lists.linaro.org, Johan Hedberg , Johannes Berg , Mauro Carvalho Chehab , Arik Nemtsov , Marcel Holtmann , David Rientjes , Michal Hocko , Akinobu Mita , Andrew Morton , Joe Perches , Mark Brown , Borislav Petkov , Oleg Nesterov , Florian Fainelli , Charles Keepax , Mel Gorman , Vlastimil Babka , "open list:EDAC-CORE" , "moderated list:ARM64 PORT AARCH64 ARCHITECTURE" , Haggai Eran , "James E.J. Bottomley" , Alexander Duyck , Chaya Rachel Ivgi , "open list:CISCO SCSI HBA DRIVER" , Brian Silverman , "Luis R. Rodriguez" , Greg KH , "open list:ULTRA-WIDEBAND UWB SUBSYSTEM:" , "open list:NETWORKING DRIVERS WIRELESS" , Takashi Iwai , Sesidhar Baddela , open list , Johannes Weiner , "open list:BLUETOOTH DRIVERS" , "open list:AMD IOMMU AMD-VI" , "open list:QUALCOMM ATHEROS ATH9K WIRELESS DRIVER" , Rafael Wysocki , Narsimhulu Musini , Wang Long , Tejun Heo , Michael Kerrisk , QCA ath9k Development , Len Brown , Liam Girdwood , "open list:CXGB4 ETHERNET DRIVER CXGB4" , Larry Finger On Tuesday 15 September 2015 07:34:38 Viresh Kumar wrote: > On 14-09-15, 09:03, Greg KH wrote: > > What ever ones you think it is relevant for :) > > "Relevant" is a relevant term :) > > So, the patch which defined the type bool as _Bool was added in v2.6.19 :) > > 6e2182874324 ("[PATCH] Generic boolean") > > So, I will try at least for v3.10+ as they are used by a lot of > people, as they are LTS kernels. But wasn't sure if I should do it > right from 2.6.19. I don't think there is any use in backporting the global type change, that is too invasive and does not change much. The specific bug in the acpi code dates back to when acpi_ec_add_debugfs() was added in 2.6.36, so that is the earliest point it could be backported to. Then again, as I said it is only a problem on big-endian 64-bit architectures, and on ACPI that would specifically mean arm64, which only very recently gained ACPI support, so backporting to 4.1 is probably enough. Arnd _______________________________________________ ath10k mailing list ath10k@lists.infradead.org http://lists.infradead.org/mailman/listinfo/ath10k