Skip to contentSkip to conversation

linux-next: manual merge of the tegra tree with the origin tree

PATCH Mark Brown 1 participant 1 message Nov 10

Subsystems (2)
lore
Share & tools
lore

Mark Brown

author maintainer
#0 lore raw

Hi all,

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

drivers/firmware/tegra/bpmp-tegra186.c

between commit:

4dd10fbbeb9c3 ("treewide: Convert devm_kmalloc() family to the devm_kmalloc_obj() family")

from the origin tree and commit:

ee98ea41ee3fb ("firmware: tegra: bpmp: Add ACPI support")

from the tegra 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.

drivers/firmware/tegra/bpmp-tegra186.c +0 -0
diff --cc drivers/firmware/tegra/bpmp-tegra186.c
index 5a97496600ac1,c34f6d2d275cd..0000000000000
@@@ -324,7 -325,11 +324,11 @@@ static int tegra186_bpmp_init(struct te
  	struct tegra186_bpmp *priv;
  	int err;
  
+ 	err = tegra_bpmp_init_channels(bpmp);
+ 	if (err < 0)
+ 		return err;
+ 
 -	priv = devm_kzalloc(bpmp->dev, sizeof(*priv), GFP_KERNEL);
 +	priv = devm_kzalloc_obj(bpmp->dev, *priv);
  	if (!priv)
  		return -ENOMEM;