lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20180520124158.GC10031@kroah.com>
Date:   Sun, 20 May 2018 14:41:58 +0200
From:   Greg KH <gregkh@...uxfoundation.org>
To:     Sabin Mihai Rapan <sabin.rapan@...il.com>
Cc:     jsimmons@...radead.org, andreas.dilger@...el.com,
        oleg.drokin@...el.com, lustre-devel@...ts.lustre.org,
        kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/5] staging: lustre: Fix inclusion of local headers

On Wed, May 16, 2018 at 08:26:36PM +0200, Sabin Mihai Rapan wrote:
> This patch fixes the checkpatch.pl error:
> 
> ERROR:UAPI_INCLUDE: No #include in ...include/uapi/... should use a uapi/ path
> prefix
> 
> Signed-off-by: Sabin Mihai Rapan <sabin.rapan@...il.com>
> ---
>  drivers/staging/lustre/include/uapi/linux/lnet/lnet-dlc.h     | 4 ++--
>  drivers/staging/lustre/include/uapi/linux/lnet/lnetctl.h      | 2 +-
>  drivers/staging/lustre/include/uapi/linux/lnet/nidstr.h       | 2 +-
>  drivers/staging/lustre/include/uapi/linux/lustre/lustre_cfg.h | 2 +-
>  drivers/staging/lustre/include/uapi/linux/lustre/lustre_fid.h | 2 +-
>  drivers/staging/lustre/include/uapi/linux/lustre/lustre_idl.h | 4 ++--
>  .../staging/lustre/include/uapi/linux/lustre/lustre_ioctl.h   | 2 +-
>  .../staging/lustre/include/uapi/linux/lustre/lustre_ostid.h   | 2 +-
>  .../staging/lustre/include/uapi/linux/lustre/lustre_user.h    | 2 +-
>  9 files changed, 11 insertions(+), 11 deletions(-)
> 
> diff --git a/drivers/staging/lustre/include/uapi/linux/lnet/lnet-dlc.h b/drivers/staging/lustre/include/uapi/linux/lnet/lnet-dlc.h
> index c1619f411d81..1530ac26b449 100644
> --- a/drivers/staging/lustre/include/uapi/linux/lnet/lnet-dlc.h
> +++ b/drivers/staging/lustre/include/uapi/linux/lnet/lnet-dlc.h
> @@ -29,8 +29,8 @@
>  #ifndef LNET_DLC_H
>  #define LNET_DLC_H
>  
> -#include <uapi/linux/lnet/libcfs_ioctl.h>
> -#include <uapi/linux/lnet/lnet-types.h>
> +#include "libcfs_ioctl.h"
> +#include "lnet-types.h"

Ick, no, please leave as-is, the uapi "rules" are a bit different for
staging drivers.

thanks,

greg k-h

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ