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]
Date:	Wed, 24 Oct 2012 10:07:22 +0200
From:	Jesper Nilsson <jesper.nilsson@...s.com>
To:	David Howells <dhowells@...hat.com>
Cc:	starvik@...s.com, linux-cris-kernel@...s.com,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] UAPI: Fix up empty files in arch/cris/

On Mon, Oct 22, 2012 at 01:18:44PM +0100, David Howells wrote:
> Fix up three empty files in arch/cris/ by sticking placeholder comments in
> there to prevent the patch program from deleting them.
> 
> I decided not to delete the arch-v*/Kbuild files as it's possibly someone might
> want to use them for genhdr-y lines in the future, but they could be deleted
> and the pointer lines removed from asm/Kbuild.  The uapi/arch-v*/Kbuild files
> ought to be uneffected by such a change.
> 
> asm/swab.h didn't have anything outside of __KERNEL__ so nothing appeared in
> uapi/asm/swab.h.  The latter, however, is exported by Kbuild.asm.
> 
> This needs to be applied after the CRIS UAPI disintegration patch.
> 
> Signed-off-by: David Howells <dhowells@...hat.com>

Thanks, I've rewritten the comments to match the canonical name of the
architectures, and applied the following patch to the CRIS-tree
(with the same comment as above).

---
 arch/cris/include/arch-v10/arch/Kbuild | 1 +
 arch/cris/include/arch-v32/arch/Kbuild | 1 +
 arch/cris/include/uapi/asm/swab.h      | 3 +++
 3 files changed, 5 insertions(+)

diff --git a/arch/cris/include/arch-v10/arch/Kbuild b/arch/cris/include/arch-v10/arch/Kbuild
index e69de29..1f0fc7a 100644
--- a/arch/cris/include/arch-v10/arch/Kbuild
+++ b/arch/cris/include/arch-v10/arch/Kbuild
@@ -0,0 +1 @@
+# CRISv10 arch
diff --git a/arch/cris/include/arch-v32/arch/Kbuild b/arch/cris/include/arch-v32/arch/Kbuild
index e69de29..2fd65c7 100644
--- a/arch/cris/include/arch-v32/arch/Kbuild
+++ b/arch/cris/include/arch-v32/arch/Kbuild
@@ -0,0 +1 @@
+# CRISv32 arch
diff --git a/arch/cris/include/uapi/asm/swab.h b/arch/cris/include/uapi/asm/swab.h
index e69de29..4adf1e9 100644
--- a/arch/cris/include/uapi/asm/swab.h
+++ b/arch/cris/include/uapi/asm/swab.h
@@ -0,0 +1,3 @@
+/*
+ * CRIS byte swapping.
+ */


/^JN - Jesper Nilsson
-- 
               Jesper Nilsson -- jesper.nilsson@...s.com
--
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