All of lore.kernel.org
 help / color / mirror / Atom feed
* linux-next: manual merge of the soundwire tree with the sound-asoc-fixes tree
@ 2021-06-22  7:19 Stephen Rothwell
  2021-06-23  7:56 ` Stephen Rothwell
  0 siblings, 1 reply; 2+ messages in thread
From: Stephen Rothwell @ 2021-06-22  7:19 UTC (permalink / raw)
  To: Vinod Koul, Mark Brown, Liam Girdwood
  Cc: Linux Kernel Mailing List, Linux Next Mailing List,
	Pierre-Louis Bossart, Richard Fitzgerald

[-- Attachment #1: Type: text/plain, Size: 1696 bytes --]

Hi all,

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

  include/linux/soundwire/sdw.h

between commit:

  d38ebaf2c884 ("soundwire: export sdw_update() and sdw_update_no_pm()")

from the sound-asoc-fixes tree and commit:

  031e668bc1ad ("soundwire: bus: Make sdw_nwrite() data pointer argument const")

from the soundwire 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 include/linux/soundwire/sdw.h
index de9802a24e7e,ddbeb00799e4..000000000000
--- a/include/linux/soundwire/sdw.h
+++ b/include/linux/soundwire/sdw.h
@@@ -1040,10 -1039,7 +1039,10 @@@ int sdw_write(struct sdw_slave *slave, 
  int sdw_write_no_pm(struct sdw_slave *slave, u32 addr, u8 value);
  int sdw_read_no_pm(struct sdw_slave *slave, u32 addr);
  int sdw_nread(struct sdw_slave *slave, u32 addr, size_t count, u8 *val);
- int sdw_nwrite(struct sdw_slave *slave, u32 addr, size_t count, u8 *val);
+ int sdw_nwrite(struct sdw_slave *slave, u32 addr, size_t count, const u8 *val);
 +int sdw_update(struct sdw_slave *slave, u32 addr, u8 mask, u8 val);
 +int sdw_update_no_pm(struct sdw_slave *slave, u32 addr, u8 mask, u8 val);
 +
  int sdw_compare_devid(struct sdw_slave *slave, struct sdw_slave_id id);
  void sdw_extract_slave_id(struct sdw_bus *bus, u64 addr, struct sdw_slave_id *id);
  

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: linux-next: manual merge of the soundwire tree with the sound-asoc-fixes tree
  2021-06-22  7:19 linux-next: manual merge of the soundwire tree with the sound-asoc-fixes tree Stephen Rothwell
@ 2021-06-23  7:56 ` Stephen Rothwell
  0 siblings, 0 replies; 2+ messages in thread
From: Stephen Rothwell @ 2021-06-23  7:56 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood, Greg KH, Arnd Bergmann
  Cc: Vinod Koul, Linux Kernel Mailing List, Linux Next Mailing List,
	Pierre-Louis Bossart, Richard Fitzgerald

[-- Attachment #1: Type: text/plain, Size: 1941 bytes --]

Hi all,

On Tue, 22 Jun 2021 17:19:36 +1000 Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>
> Today's linux-next merge of the soundwire tree got a conflict in:
> 
>   include/linux/soundwire/sdw.h
> 
> between commit:
> 
>   d38ebaf2c884 ("soundwire: export sdw_update() and sdw_update_no_pm()")
> 
> from the sound-asoc-fixes tree and commit:
> 
>   031e668bc1ad ("soundwire: bus: Make sdw_nwrite() data pointer argument const")
> 
> from the soundwire 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.
> 
> diff --cc include/linux/soundwire/sdw.h
> index de9802a24e7e,ddbeb00799e4..000000000000
> --- a/include/linux/soundwire/sdw.h
> +++ b/include/linux/soundwire/sdw.h
> @@@ -1040,10 -1039,7 +1039,10 @@@ int sdw_write(struct sdw_slave *slave, 
>   int sdw_write_no_pm(struct sdw_slave *slave, u32 addr, u8 value);
>   int sdw_read_no_pm(struct sdw_slave *slave, u32 addr);
>   int sdw_nread(struct sdw_slave *slave, u32 addr, size_t count, u8 *val);
> - int sdw_nwrite(struct sdw_slave *slave, u32 addr, size_t count, u8 *val);
> + int sdw_nwrite(struct sdw_slave *slave, u32 addr, size_t count, const u8 *val);
>  +int sdw_update(struct sdw_slave *slave, u32 addr, u8 mask, u8 val);
>  +int sdw_update_no_pm(struct sdw_slave *slave, u32 addr, u8 mask, u8 val);
>  +
>   int sdw_compare_devid(struct sdw_slave *slave, struct sdw_slave_id id);
>   void sdw_extract_slave_id(struct sdw_bus *bus, u64 addr, struct sdw_slave_id *id);
>   

This is now a conflict between the char-misc tree and the
sound-asoc-fixes tree.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-06-23  7:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-22  7:19 linux-next: manual merge of the soundwire tree with the sound-asoc-fixes tree Stephen Rothwell
2021-06-23  7:56 ` Stephen Rothwell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.