From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 30605C433EF for ; Sat, 19 Mar 2022 06:40:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241128AbiCSGlo (ORCPT ); Sat, 19 Mar 2022 02:41:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51668 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231952AbiCSGli (ORCPT ); Sat, 19 Mar 2022 02:41:38 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 37D612E8CEB; Fri, 18 Mar 2022 23:40:15 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id B47DDB80189; Sat, 19 Mar 2022 06:40:14 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DF1FBC340EC; Sat, 19 Mar 2022 06:40:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1647672013; bh=+tQGt//lSRZPhJkXDicQ1ZieebIlhDK1GC3VS9QAKnM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=DjqGm2aWvDgEjFjvc8Q+X7VcPYxEazBs1Rpem1s7sI/erbbBBO9EF+tzljIdvNi8Y VXlo+iYKJ4plAdAQer0E7khHcBkJCFjsrJ45v43z30ehOA6jJ73VLOTVws72QvpYrQ Dnt00239Xs+B+0y6i8+8SfvuKPw2h5IZUv1UhCp4= Date: Sat, 19 Mar 2022 07:40:03 +0100 From: Greg Kroah-Hartman To: Miklos Szeredi Cc: Carlos Llamas , Alessio Balsini , Masahiro Yamada , Arnd Bergmann , kernel-team , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] fuse: fix integer type usage in uapi header Message-ID: References: <20220318171405.2728855-1-cmllamas@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Mar 18, 2022 at 08:24:55PM +0100, Miklos Szeredi wrote: > On Fri, 18 Mar 2022 at 18:14, Carlos Llamas wrote: > > > > Kernel uapi headers are supposed to use __[us]{8,16,32,64} defined by > > instead of 'uint32_t' and similar. This patch changes > > all the definitions in this header to use the correct type. Previous > > discussion of this topic can be found here: > > > > https://lkml.org/lkml/2019/6/5/18 > > This is effectively a revert of these two commits: > > 4c82456eeb4d ("fuse: fix type definitions in uapi header") That's a really odd commit, and should not have been recommended. uapi headers have to use __u32 and friends, otherwise things can be wrong. > 7e98d53086d1 ("Synchronize fuse header with one used in library") > > And so we've gone full circle and back to having to modify the header > to be usable in the cross platform library... > > And also made lots of churn for what reason exactly? I think the original change above was wrong. thanks, greg k-h