From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757356AbcHWHkQ (ORCPT ); Tue, 23 Aug 2016 03:40:16 -0400 Received: from mail.kapsi.fi ([217.30.184.167]:56685 "EHLO mail.kapsi.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756859AbcHWHkD (ORCPT ); Tue, 23 Aug 2016 03:40:03 -0400 Date: Tue, 23 Aug 2016 10:39:58 +0300 From: Mikko Rapeli To: Miklos Szeredi Cc: linux-kernel@vger.kernel.org, Arnd Bergmann , linux-fsdevel@vger.kernel.org Subject: Re: [PATCH v05 50/72] include/uapi/linux/fuse.h: use linux/types.h also in userspace Message-ID: <20160823073958.GN5399@lakka.kapsi.fi> References: <1471890809-4383-1-git-send-email-mikko.rapeli@iki.fi> <1471890809-4383-51-git-send-email-mikko.rapeli@iki.fi> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-SA-Exim-Connect-IP: 2001:1bc8:1004::1 X-SA-Exim-Mail-From: mikko.rapeli@iki.fi X-SA-Exim-Scanned: No (on mail.kapsi.fi); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Aug 23, 2016 at 09:16:22AM +0200, Miklos Szeredi wrote: > On Mon, Aug 22, 2016 at 8:33 PM, Mikko Rapeli wrote: > > Kernel headers should not use stdint.h. > > > > NACK. > > This header is used by more than one OS. Having a different version > for different OS's makes no sense, hence the choice of stdint. We've > been over this many times. I'll do a patch with a big fat warning at > the top of this header so that people don't spend time doing this > useless conversion over and over again. Yes, saw this coming. drm developers have the same problem. Is there some way to define which kernel uapi headers are allowed to use stdint.h definitions in userspace and which not? -Mikko