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:   Thu, 8 Mar 2018 12:33:31 +1100
From:   Stephen Rothwell <sfr@...b.auug.org.au>
To:     Lee Jones <lee.jones@...aro.org>
Cc:     Linux-Next Mailing List <linux-next@...r.kernel.org>,
        Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
        Baolin Wang <baolin.wang@...aro.org>,
        Mark Brown <broonie@...nel.org>,
        David Lechner <david@...hnology.com>
Subject: linux-next: manual merge of the mfd tree with Linus' tree

Hi Lee,

Today's linux-next merge of the mfd tree got a conflict in:

  drivers/mfd/syscon.c

between commit:

  3bafc09e7797 ("mfd: syscon: Add hardware spinlock support")

from Linus' tree and commit:

  34c90dcce6b1 ("mfd: syscon: Set regmap name to DT node name")

from the mfd tree.

I fixed it up (see below) and can carry the fix as necessary. This
is now fixed as far as linux-next is concerned, but any non trivial
conflicts should be mentioned to your upstream maintainer when your tree
is submitted for merging.  You may also want to consider cooperating
with the maintainer of the conflicting tree to minimise any particularly
complex conflicts.

-- 
Cheers,
Stephen Rothwell

diff --cc drivers/mfd/syscon.c
index 7eaa40bc703f,2c34a356a6a9..000000000000
--- a/drivers/mfd/syscon.c
+++ b/drivers/mfd/syscon.c
@@@ -88,24 -87,7 +88,25 @@@ static struct syscon *of_syscon_registe
  	if (ret)
  		reg_io_width = 4;
  
 +	ret = of_hwspin_lock_get_id(np, 0);
 +	if (ret > 0 || (IS_ENABLED(CONFIG_HWSPINLOCK) && ret == 0)) {
 +		syscon_config.use_hwlock = true;
 +		syscon_config.hwlock_id = ret;
 +		syscon_config.hwlock_mode = HWLOCK_IRQSTATE;
 +	} else if (ret < 0) {
 +		switch (ret) {
 +		case -ENOENT:
 +			/* Ignore missing hwlock, it's optional. */
 +			break;
 +		default:
 +			pr_err("Failed to retrieve valid hwlock: %d\n", ret);
 +			/* fall-through */
 +		case -EPROBE_DEFER:
 +			goto err_regmap;
 +		}
 +	}
 +
+ 	syscon_config.name = of_node_full_name(np);
  	syscon_config.reg_stride = reg_io_width;
  	syscon_config.val_bits = reg_io_width * 8;
  	syscon_config.max_register = resource_size(&res) - reg_io_width;

Content of type "application/pgp-signature" skipped

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ