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-next>] [day] [month] [year] [list]
Date:	Mon, 23 Jan 2012 12:09:33 +1100
From:	Stephen Rothwell <sfr@...b.auug.org.au>
To:	Herbert Xu <herbert@...dor.apana.org.au>
Cc:	linux-next@...r.kernel.org, linux-kernel@...r.kernel.org,
	Henning Heinold <heinold@....fu-berlin.de>,
	Varun Wadekar <vwadekar@...dia.com>,
	Olof Johansson <olof@...om.net>,
	Stephen Warren <swarren@...dia.com>,
	Colin Cross <ccross@...roid.com>
Subject: linux-next: manual merge of the crypto tree with the tegra tree

Hi Herbert,

Today's linux-next merge of the crypto tree got a conflict in
arch/arm/mach-tegra/fuse.c between commit b2609c7c7237 ("ARM: tegra:
fuse: add functions to access chip revision") from the tegra tree and
commit e87e06cd8cc0 ("arm: tegra: export tegra_chip_uid") from the crypto
tree.

Just context changes.  I fixed it up (see below) and can carry the fix as
necessary.

By the way, adding the EXPORT_SYMBOL() really now only needs export.h not
module.h (assuming that the crypto tree has a recent enough base).

-- 
Cheers,
Stephen Rothwell                    sfr@...b.auug.org.au

diff --cc arch/arm/mach-tegra/fuse.c
index 17fdd40,ea49bd9..0000000
--- a/arch/arm/mach-tegra/fuse.c
+++ b/arch/arm/mach-tegra/fuse.c
@@@ -119,7 -55,32 +120,8 @@@ unsigned long long tegra_chip_uid(void
  {
  	unsigned long long lo, hi;
  
 -	lo = fuse_readl(FUSE_UID_LOW);
 -	hi = fuse_readl(FUSE_UID_HIGH);
 +	lo = tegra_fuse_readl(FUSE_UID_LOW);
 +	hi = tegra_fuse_readl(FUSE_UID_HIGH);
  	return (hi << 32ull) | lo;
  }
+ EXPORT_SYMBOL(tegra_chip_uid);
 -
 -int tegra_sku_id(void)
 -{
 -	int sku_id;
 -	u32 reg = fuse_readl(FUSE_SKU_INFO);
 -	sku_id = reg & 0xFF;
 -	return sku_id;
 -}
 -
 -int tegra_cpu_process_id(void)
 -{
 -	int cpu_process_id;
 -	u32 reg = fuse_readl(FUSE_SPARE_BIT);
 -	cpu_process_id = (reg >> 6) & 3;
 -	return cpu_process_id;
 -}
 -
 -int tegra_core_process_id(void)
 -{
 -	int core_process_id;
 -	u32 reg = fuse_readl(FUSE_SPARE_BIT);
 -	core_process_id = (reg >> 12) & 3;
 -	return core_process_id;
 -}


Content of type "application/pgp-signature" skipped

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ