Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751196AbaK1CSt (ORCPT ); Thu, 27 Nov 2014 21:18:49 -0500 Received: from ozlabs.org ([103.22.144.67]:48185 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750926AbaK1CSr (ORCPT ); Thu, 27 Nov 2014 21:18:47 -0500 Message-ID: <1417141122.6694.5.camel@concordia> Subject: Re: [PATCH 1/3] kcmp: Move kcmp.h into uapi From: Michael Ellerman To: linux-kernel@vger.kernel.org Cc: shuahkh@osg.samsung.com, linux-api@vger.kernel.org, Andrew Morton , gorcunov@openvz.org Date: Fri, 28 Nov 2014 13:18:42 +1100 In-Reply-To: <1414040834-30209-1-git-send-email-mpe@ellerman.id.au> References: <1414040834-30209-1-git-send-email-mpe@ellerman.id.au> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4-0ubuntu2 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2014-10-23 at 16:07 +1100, Michael Ellerman wrote: > kcmp.h appears to be part of the API, it's documented in kcmp(2), and > the selftests/kcmp code uses it. So move it to uapi so it's actually > exported. Looks like this series fell through the cracks? It still applies on rc6. Should I resend? cheers > Signed-off-by: Michael Ellerman > --- > include/linux/kcmp.h | 13 +------------ > include/uapi/linux/Kbuild | 1 + > include/uapi/linux/kcmp.h | 17 +++++++++++++++++ > 3 files changed, 19 insertions(+), 12 deletions(-) > create mode 100644 include/uapi/linux/kcmp.h > > diff --git a/include/linux/kcmp.h b/include/linux/kcmp.h > index 2dcd1b3aafc8..9dfb23e1771b 100644 > --- a/include/linux/kcmp.h > +++ b/include/linux/kcmp.h > @@ -1,17 +1,6 @@ > #ifndef _LINUX_KCMP_H > #define _LINUX_KCMP_H > > -/* Comparison type */ > -enum kcmp_type { > - KCMP_FILE, > - KCMP_VM, > - KCMP_FILES, > - KCMP_FS, > - KCMP_SIGHAND, > - KCMP_IO, > - KCMP_SYSVSEM, > - > - KCMP_TYPES, > -}; > +#include > > #endif /* _LINUX_KCMP_H */ > diff --git a/include/uapi/linux/Kbuild b/include/uapi/linux/Kbuild > index b70237e8bc37..1cf50d682dbf 100644 > --- a/include/uapi/linux/Kbuild > +++ b/include/uapi/linux/Kbuild > @@ -209,6 +209,7 @@ header-y += ivtvfb.h > header-y += ixjuser.h > header-y += jffs2.h > header-y += joystick.h > +header-y += kcmp.h > header-y += kd.h > header-y += kdev_t.h > header-y += kernel-page-flags.h > diff --git a/include/uapi/linux/kcmp.h b/include/uapi/linux/kcmp.h > new file mode 100644 > index 000000000000..84df14b37360 > --- /dev/null > +++ b/include/uapi/linux/kcmp.h > @@ -0,0 +1,17 @@ > +#ifndef _UAPI_LINUX_KCMP_H > +#define _UAPI_LINUX_KCMP_H > + > +/* Comparison type */ > +enum kcmp_type { > + KCMP_FILE, > + KCMP_VM, > + KCMP_FILES, > + KCMP_FS, > + KCMP_SIGHAND, > + KCMP_IO, > + KCMP_SYSVSEM, > + > + KCMP_TYPES, > +}; > + > +#endif /* _UAPI_LINUX_KCMP_H */ -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/