From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932297AbcHVThf (ORCPT ); Mon, 22 Aug 2016 15:37:35 -0400 Received: from mail-pf0-f174.google.com ([209.85.192.174]:35005 "EHLO mail-pf0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752325AbcHVThd (ORCPT ); Mon, 22 Aug 2016 15:37:33 -0400 Date: Mon, 22 Aug 2016 12:37:45 -0700 From: Stephen Hemminger To: Mikko Rapeli Cc: linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [PATCH v05 21/72] include/uapi/linux/if_pppox.h: include linux/if.h Message-ID: <20160822123745.7921a88d@xeon-e3> In-Reply-To: <1471890809-4383-22-git-send-email-mikko.rapeli@iki.fi> References: <1471890809-4383-1-git-send-email-mikko.rapeli@iki.fi> <1471890809-4383-22-git-send-email-mikko.rapeli@iki.fi> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by mail.home.local id u7MJbdOn018028 On Mon, 22 Aug 2016 20:32:38 +0200 Mikko Rapeli wrote: > Fixes userspace compilation error: > > error: ‘IFNAMSIZ’ undeclared here (not in a function) > > Signed-off-by: Mikko Rapeli > --- > include/uapi/linux/if_pppox.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/include/uapi/linux/if_pppox.h b/include/uapi/linux/if_pppox.h > index e128769..473c3c4 100644 > --- a/include/uapi/linux/if_pppox.h > +++ b/include/uapi/linux/if_pppox.h > @@ -21,6 +21,7 @@ > #include > > #include > +#include > #include > #include > I went back to the first patch in LKML for this series. It seems your goal is that every include file should be standalone, i.e it must include every definition it uses. I disagree with this premise. It just makes things harder to maintain with no real gain for any existing program. What is the motivation for all this useless churn? Is there some silly style rule that should be fixed instead?