Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp1439046pxx; Fri, 30 Oct 2020 09:59:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyITAGefPjuXx9rzjA3uIcDhIYHWRHqBuKUbqEk0to1TSs8SAZCuR2mOwDZdbTSzN2Zed+Q X-Received: by 2002:a50:e442:: with SMTP id e2mr3610609edm.186.1604077167911; Fri, 30 Oct 2020 09:59:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1604077167; cv=none; d=google.com; s=arc-20160816; b=L9kAiKEoaGVw6u+Bdt5qWnXKa/jyTCSAI48rOa4FnAHL0pu1If86E0VraXWhEb7dOr Mt1MZafCGmZSTpiTyT5OgcBzJNukKk2Jc8aUfLoxixdyW+hYpjhBcF5m0bywOFA51F6X bk0p9IqNCq/W4alKOgR3OmBmkN5vnz2MUwfy6SU4PtinkkFDBQgzoG9nghCHzi6nYoRZ f8kNYV7s0Vp8MaFqOCZrBfW93qY9Y19YolvezxWy2F1r2j9TCeB/7hNpDuAcrMvZlUbJ fLTD5SzYseKQ1vh3Dq7im+EC36k0fZYUQWcGdipcKBvqWgAL9XH3uriK9FapIIUJrnRA xerw== 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; bh=Ifp2qz4cPqNbMAV8Hxgta1P/YY27Z4YR76wIVxCLgbQ=; b=vr2aPOxhoRcfHkSm+ane0YWO0lkk/TvUGLCReo0lnw3nmlnzOalXGH9VIDROJ3p1XI IZlgBul0wgJAu3pE7FaqyNtLIo/LDxjmyAlEZnXPShfVcaBzXE5GMN6rMMElOkJsGKZS +yA98VTsZRTA740rj02W9KPtnUMQiQBChqI2USC7HEdtaGrQqPOGap62KoFo3rodiejv 9TVprVKUPDTsMd6eWhHNohna76a9UJF5JhJP7GR0HV4J3xpATqr2MHfNJJsOeQk2lMnr p3rgtzf84e6KSyp9tFatB9G67kv0BG8aIJB1BwNXg5MkkIDGLgEfxKFi6so+UNxUZGUn pYxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="z/dVtz0G"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w14si4354138eje.646.2020.10.30.09.59.05; Fri, 30 Oct 2020 09:59:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="z/dVtz0G"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727264AbgJ3Q4D (ORCPT + 99 others); Fri, 30 Oct 2020 12:56:03 -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