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: <CAJhHMCCGEXq17L4ovjOdRWuJ++ShDQTA4+H8VOTx=kF_Qd2Sag@mail.gmail.com>
Date:	Tue, 5 Aug 2014 15:51:50 -0400
From:	Pranith Kumar <bobby.prani@...il.com>
To:	Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
	Peng Tao <bergwolf@...il.com>,
	Andreas Dilger <andreas.dilger@...el.com>,
	Joe Perches <joe@...ches.com>,
	Oleg Drokin <green@...uxhacker.ru>,
	"open list:STAGING SUBSYSTEM" <devel@...verdev.osuosl.org>,
	open list <linux-kernel@...r.kernel.org>
Cc:	geert@...ux-m68k.org, stable@...r.kernel.org
Subject: Re: [PATCH 1/1] staging: lustre: Remove circular dependency on header

Please note, this also fixes the following build error on sparc64

http://kisskb.ellerman.id.au/kisskb/buildresult/11607883/

On Tue, Aug 5, 2014 at 12:27 PM, Pranith Kumar <bobby.prani@...il.com> wrote:
> The following patch fixes a build error on sparc32. I think it should go to
> stable 3.16.
>
> Remove a circular dependency on atomic.h header file which leads to compilation
> failure on sparc32 as reported here:
> http://kisskb.ellerman.id.au/kisskb/buildresult/11340509/
>
> The specific dependency is as follows:
>
> In file included from arch/sparc/include/asm/smp_32.h:24:0,
>                  from arch/sparc/include/asm/smp.h:6,
>                  from arch/sparc/include/asm/switch_to_32.h:4,
>                  from arch/sparc/include/asm/switch_to.h:6,
>                  from arch/sparc/include/asm/ptrace.h:84,
>                  from arch/sparc/include/asm/processor_32.h:16,
>                  from arch/sparc/include/asm/processor.h:6,
>                  from arch/sparc/include/asm/barrier_32.h:4,
>                  from arch/sparc/include/asm/barrier.h:6,
>                  from arch/sparc/include/asm/atomic_32.h:17,
>                  from arch/sparc/include/asm/atomic.h:6,
>                  from drivers/staging/lustre/lustre/obdclass/class_obd.c:38
>
> Signed-off-by: Pranith Kumar <bobby.prani@...il.com>
> CC: stable@...r.kernel.org
> ---
>  drivers/staging/lustre/lustre/obdclass/class_obd.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/staging/lustre/lustre/obdclass/class_obd.c b/drivers/staging/lustre/lustre/obdclass/class_obd.c
> index 8b19f3c..701c6a7 100644
> --- a/drivers/staging/lustre/lustre/obdclass/class_obd.c
> +++ b/drivers/staging/lustre/lustre/obdclass/class_obd.c
> @@ -35,7 +35,7 @@
>   */
>
>  #define DEBUG_SUBSYSTEM S_CLASS
> -# include <asm/atomic.h>
> +# include <linux/atomic.h>
>
>  #include "../include/obd_support.h"
>  #include "../include/obd_class.h"
> --
> 1.9.1
>



-- 
Pranith
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ