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 X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 84D1AC56201 for ; Fri, 30 Oct 2020 16:56:20 +0000 (UTC) Received: from lists.sourceforge.net (lists.sourceforge.net [216.105.38.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E3A4120791; Fri, 30 Oct 2020 16:56:19 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=sourceforge.net header.i=@sourceforge.net header.b="dBl3nWQp"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=sf.net header.i=@sf.net header.b="LT6wl+dw"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="z/dVtz0G" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E3A4120791 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=linux-f2fs-devel-bounces@lists.sourceforge.net Received: from [127.0.0.1] (helo=sfs-ml-1.v29.lw.sourceforge.com) by sfs-ml-1.v29.lw.sourceforge.com with esmtp (Exim 4.90_1) (envelope-from ) id 1kYXhH-0004Rs-Up; Fri, 30 Oct 2020 16:56:15 +0000 Received: from [172.30.20.202] (helo=mx.sourceforge.net) by sfs-ml-1.v29.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kYXhG-0004RW-Ur for linux-f2fs-devel@lists.sourceforge.net; Fri, 30 Oct 2020 16:56:14 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=In-Reply-To:Content-Type:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=Ifp2qz4cPqNbMAV8Hxgta1P/YY27Z4YR76wIVxCLgbQ=; b=dBl3nWQpTNLzPJ+OLbdW7Kz/sL WFvpqDlxRWkBPeCbJXFYrxgDpKYzr0t6AwE2abGbmyDk+yuAtoqj1DVd1zKaBAgVimdnKwZalJgx+ O/mtL39BQbVDcRoFa/W4mxxtp/+RjV0tn3ytWVcQIcCQPqUSV8yDKvxyRqPpTi2PwPg8=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To :From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=Ifp2qz4cPqNbMAV8Hxgta1P/YY27Z4YR76wIVxCLgbQ=; b=LT6wl+dwBsge0GExjQpqQbM+TU dtX4JGuZwnEVi3w7X8Z5y7ce1Mf5UtSNLnaKDymSvxWE+0lIFrbZC9xCdJzQ6Fgukl6FoQEdTFytT v7QcNX9wpv0Uf6srD0hBRq6AQN5CP2UeV7XxXyER27BL7MdWTAFFRVtFEwuDiE65secw=; Received: from mail.kernel.org ([198.145.29.99]) by sfi-mx-1.v28.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92.2) id 1kYXh5-002osv-Fx for linux-f2fs-devel@lists.sourceforge.net; Fri, 30 Oct 2020 16:56:14 +0000 Received: from sol.localdomain (172-10-235-113.lightspeed.sntcca.sbcglobal.net [172.10.235.113]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id A428C20791; Fri, 30 Oct 2020 16:55:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604076957; bh=c3kxm2crOyIhGs6VOfq3cufvcTi+w7SfUEUvU1r33rY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=z/dVtz0GT9NCTXiOc18KE1Mhboa1bxEbGpKvoXfSVKJsFwObuazYrrrC3xCvXH6CV Db40/4bQmyR9UKW2S2nHgfys9p/oFsDg1NL35ejqJB8Nd/cLoc1V5SeAhG0+34WkYx /vrsq8CmcHZTVbePOkTzfJ8cxf1QjQlEGLOvOADU= Date: Fri, 30 Oct 2020 09:55:56 -0700 From: Eric Biggers To: Chao Yu Message-ID: <20201030165556.GA1097@sol.localdomain> References: <20201030072610.57155-1-yuchao0@huawei.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20201030072610.57155-1-yuchao0@huawei.com> X-Headers-End: 1kYXh5-002osv-Fx Subject: Re: [f2fs-dev] [PATCH v2] f2fs: move ioctl interface definitions to separated file X-BeenThere: linux-f2fs-devel@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: jaegeuk@kernel.org, linux-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: linux-f2fs-devel-bounces@lists.sourceforge.net On Fri, Oct 30, 2020 at 03:26:10PM +0800, Chao Yu wrote: > + > +struct f2fs_gc_range { > + u32 sync; > + u64 start; > + u64 len; > +}; Userspace headers need to use __u32, __u64, etc. instead of u32, u64, etc. Did you try installing this header, and including it in a userspace program? - Eric _______________________________________________ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel 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 X-Spam-Level: X-Spam-Status: No, score=-4.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4A44EC4741F for ; Fri, 30 Oct 2020 16:56:06 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id ECB8020739 for ; Fri, 30 Oct 2020 16:56:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604076966; bh=c3kxm2crOyIhGs6VOfq3cufvcTi+w7SfUEUvU1r33rY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=Qm3BFrlKQ6PqItNqxL9405SolYV7rHfYqhDlcyn1DSsS0TjWzVIPPIhtOaHwfFW2T fnfC3pW8sVYyBBJBzZ5pbWySK3zQzaBZbr5UxFjex/pue29w7/q10bEF+xyxm+lr5D l4kBermKDT89IL27XvSqy/lagk5LFo1p2ZCeAJjE= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727351AbgJ3Q4E (ORCPT ); Fri, 30 Oct 2020 12:56:04 -0400 Received: from mail.kernel.org ([198.145.29.99]:32814 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727337AbgJ3Qz7 (ORCPT ); Fri, 30 Oct 2020 12:55:59 -0400 Received: from sol.localdomain (172-10-235-113.lightspeed.sntcca.sbcglobal.net [172.10.235.113]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id A428C20791; Fri, 30 Oct 2020 16:55:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604076957; bh=c3kxm2crOyIhGs6VOfq3cufvcTi+w7SfUEUvU1r33rY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=z/dVtz0GT9NCTXiOc18KE1Mhboa1bxEbGpKvoXfSVKJsFwObuazYrrrC3xCvXH6CV Db40/4bQmyR9UKW2S2nHgfys9p/oFsDg1NL35ejqJB8Nd/cLoc1V5SeAhG0+34WkYx /vrsq8CmcHZTVbePOkTzfJ8cxf1QjQlEGLOvOADU= Date: Fri, 30 Oct 2020 09:55:56 -0700 From: Eric Biggers To: Chao Yu Cc: jaegeuk@kernel.org, linux-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net Subject: Re: [f2fs-dev] [PATCH v2] f2fs: move ioctl interface definitions to separated file Message-ID: <20201030165556.GA1097@sol.localdomain> References: <20201030072610.57155-1-yuchao0@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201030072610.57155-1-yuchao0@huawei.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Oct 30, 2020 at 03:26:10PM +0800, Chao Yu wrote: > + > +struct f2fs_gc_range { > + u32 sync; > + u64 start; > + u64 len; > +}; Userspace headers need to use __u32, __u64, etc. instead of u32, u64, etc. Did you try installing this header, and including it in a userspace program? - Eric