linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] regmap: regmap-w1: Fix build troubles
@ 2017-07-07 15:38 Alex A. Mihaylov
  2017-07-08 14:58 ` Sebastian Reichel
  0 siblings, 1 reply; 10+ messages in thread
From: Alex A. Mihaylov @ 2017-07-07 15:38 UTC (permalink / raw)
  To: Evgeniy Polyakov, Greg Kroah-Hartman, linux-kernel; +Cc: Alex A. Mihaylov

Fixes: cc5d0db390b0 ("regmap: Add 1-Wire bus support")
Commit de0d6dbdbdb2 ("w1: Add subsystem kernel public interface")
Fix place off w1.h header file

Cosmetic: Fix company name (local to international)

Signed-off-by: Alex A. Mihaylov <minimumlaw@rambler.ru>
---
 drivers/base/regmap/regmap-w1.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/base/regmap/regmap-w1.c b/drivers/base/regmap/regmap-w1.c
index 5f04e7bf063e..e6c64b0be5b2 100644
--- a/drivers/base/regmap/regmap-w1.c
+++ b/drivers/base/regmap/regmap-w1.c
@@ -1,7 +1,7 @@
 /*
  * Register map access API - W1 (1-Wire) support
  *
- * Copyright (C) 2017 OAO Radioavionica
+ * Copyright (c) 2017 Radioavionica Corporation
  * Author: Alex A. Mihaylov <minimumlaw@rambler.ru>
  *
  * This program is free software; you can redistribute it and/or modify
@@ -11,7 +11,7 @@
 
 #include <linux/regmap.h>
 #include <linux/module.h>
-#include "../../w1/w1.h"
+#include <linux/w1.h>
 
 #include "internal.h"
 
-- 
2.13.0

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

* Re: [PATCH] regmap: regmap-w1: Fix build troubles
  2017-07-07 15:38 [PATCH] regmap: regmap-w1: Fix build troubles Alex A. Mihaylov
@ 2017-07-08 14:58 ` Sebastian Reichel
  2017-07-10 10:31   ` Mark Brown
       [not found]   ` <1098881499698175@web19o.yandex.ru>
  0 siblings, 2 replies; 10+ messages in thread
From: Sebastian Reichel @ 2017-07-08 14:58 UTC (permalink / raw)
  To: Alex A. Mihaylov, Mark Brown
  Cc: Evgeniy Polyakov, Greg Kroah-Hartman, linux-kernel

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

Hi,

On Fri, Jul 07, 2017 at 06:38:22PM +0300, Alex A. Mihaylov wrote:
> Fixes: cc5d0db390b0 ("regmap: Add 1-Wire bus support")
> Commit de0d6dbdbdb2 ("w1: Add subsystem kernel public interface")
> Fix place off w1.h header file
> 
> Cosmetic: Fix company name (local to international)
> 
> Signed-off-by: Alex A. Mihaylov <minimumlaw@rambler.ru>

This should go into 4.13, but you actually did not include the
maintainer of regmap (which I just added, but you may have to
resend the patch, so that it lands in his inbox). Anyways the
change is:

Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>

-- Sebastian

> ---
>  drivers/base/regmap/regmap-w1.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/base/regmap/regmap-w1.c b/drivers/base/regmap/regmap-w1.c
> index 5f04e7bf063e..e6c64b0be5b2 100644
> --- a/drivers/base/regmap/regmap-w1.c
> +++ b/drivers/base/regmap/regmap-w1.c
> @@ -1,7 +1,7 @@
>  /*
>   * Register map access API - W1 (1-Wire) support
>   *
> - * Copyright (C) 2017 OAO Radioavionica
> + * Copyright (c) 2017 Radioavionica Corporation
>   * Author: Alex A. Mihaylov <minimumlaw@rambler.ru>
>   *
>   * This program is free software; you can redistribute it and/or modify
> @@ -11,7 +11,7 @@
>  
>  #include <linux/regmap.h>
>  #include <linux/module.h>
> -#include "../../w1/w1.h"
> +#include <linux/w1.h>
>  
>  #include "internal.h"
>  
> -- 
> 2.13.0
> 

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

* Re: [PATCH] regmap: regmap-w1: Fix build troubles
  2017-07-08 14:58 ` Sebastian Reichel
@ 2017-07-10 10:31   ` Mark Brown
  2017-07-10 11:51     ` Sebastian Reichel
       [not found]   ` <1098881499698175@web19o.yandex.ru>
  1 sibling, 1 reply; 10+ messages in thread
From: Mark Brown @ 2017-07-10 10:31 UTC (permalink / raw)
  To: Sebastian Reichel
  Cc: Alex A. Mihaylov, Evgeniy Polyakov, Greg Kroah-Hartman, linux-kernel

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

On Sat, Jul 08, 2017 at 04:58:08PM +0200, Sebastian Reichel wrote:
> On Fri, Jul 07, 2017 at 06:38:22PM +0300, Alex A. Mihaylov wrote:
> > Fixes: cc5d0db390b0 ("regmap: Add 1-Wire bus support")
> > Commit de0d6dbdbdb2 ("w1: Add subsystem kernel public interface")
> > Fix place off w1.h header file

> > Cosmetic: Fix company name (local to international)

> > Signed-off-by: Alex A. Mihaylov <minimumlaw@rambler.ru>

> This should go into 4.13, but you actually did not include the
> maintainer of regmap (which I just added, but you may have to
> resend the patch, so that it lands in his inbox). Anyways the
> change is:

No, he sent it to me originally and I redirected him to whoever has
moved the header file - the regmap code is in Linus' tree already, if
the header file is going to be moved this needs to include the regmap
support and this patch.  I did at the time provide a signed tag for the
regmap 1wire support for precisely this purpose :(

Patches like this *really* shouldn't be appearing during the merge
window, they should be being handled well before that with everything
ready in -next when the merge window opens.

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

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

* Re: [PATCH] regmap: regmap-w1: Fix build troubles
  2017-07-10 10:31   ` Mark Brown
@ 2017-07-10 11:51     ` Sebastian Reichel
  2017-07-10 12:19       ` Mark Brown
  0 siblings, 1 reply; 10+ messages in thread
From: Sebastian Reichel @ 2017-07-10 11:51 UTC (permalink / raw)
  To: Mark Brown
  Cc: Alex A. Mihaylov, Evgeniy Polyakov, Greg Kroah-Hartman, linux-kernel

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

Hi,

On Mon, Jul 10, 2017 at 11:31:41AM +0100, Mark Brown wrote:
> On Sat, Jul 08, 2017 at 04:58:08PM +0200, Sebastian Reichel wrote:
> > On Fri, Jul 07, 2017 at 06:38:22PM +0300, Alex A. Mihaylov wrote:
> > > Fixes: cc5d0db390b0 ("regmap: Add 1-Wire bus support")
> > > Commit de0d6dbdbdb2 ("w1: Add subsystem kernel public interface")
> > > Fix place off w1.h header file
> 
> > > Cosmetic: Fix company name (local to international)
> 
> > > Signed-off-by: Alex A. Mihaylov <minimumlaw@rambler.ru>
> 
> > This should go into 4.13, but you actually did not include the
> > maintainer of regmap (which I just added, but you may have to
> > resend the patch, so that it lands in his inbox). Anyways the
> > change is:
> 
> No, he sent it to me originally and I redirected him to whoever has
> moved the header file - the regmap code is in Linus' tree already, if
> the header file is going to be moved this needs to include the regmap
> support and this patch.  I did at the time provide a signed tag for the
> regmap 1wire support for precisely this purpose :(
> 
> Patches like this *really* shouldn't be appearing during the merge
> window, they should be being handled well before that with everything
> ready in -next when the merge window opens.

Both patches were in linux-next and both patches have been pulled
by Linus. This is broken *now*.

-- Sebastian

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

* Re: [PATCH] regmap: regmap-w1: Fix build troubles
  2017-07-10 11:51     ` Sebastian Reichel
@ 2017-07-10 12:19       ` Mark Brown
  2017-07-10 13:17         ` Sebastian Reichel
  0 siblings, 1 reply; 10+ messages in thread
From: Mark Brown @ 2017-07-10 12:19 UTC (permalink / raw)
  To: Sebastian Reichel
  Cc: Alex A. Mihaylov, Evgeniy Polyakov, Greg Kroah-Hartman, linux-kernel

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

On Mon, Jul 10, 2017 at 01:51:38PM +0200, Sebastian Reichel wrote:

> > Patches like this *really* shouldn't be appearing during the merge
> > window, they should be being handled well before that with everything
> > ready in -next when the merge window opens.

> Both patches were in linux-next and both patches have been pulled
> by Linus. This is broken *now*.

Why are none of the build bots finding problems if this is currently
broken and why did this not get fixed in -next when it was introduced?

Like I say I provided a tag for this and didn't get any request to
pull/apply the update in the other direction so it is extremely
disappointing to see that the header move went ahead after that without
the regmap support being included and someone else is having to come
along and clean up the mess.

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

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

* Re: [PATCH] regmap: regmap-w1: Fix build troubles
  2017-07-10 12:19       ` Mark Brown
@ 2017-07-10 13:17         ` Sebastian Reichel
  2017-07-10 15:32           ` Mark Brown
  0 siblings, 1 reply; 10+ messages in thread
From: Sebastian Reichel @ 2017-07-10 13:17 UTC (permalink / raw)
  To: Mark Brown
  Cc: Alex A. Mihaylov, Evgeniy Polyakov, Greg Kroah-Hartman, linux-kernel

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

Hi,

On Mon, Jul 10, 2017 at 01:19:35PM +0100, Mark Brown wrote:
> On Mon, Jul 10, 2017 at 01:51:38PM +0200, Sebastian Reichel wrote:
> > > Patches like this *really* shouldn't be appearing during the merge
> > > window, they should be being handled well before that with everything
> > > ready in -next when the merge window opens.
> 
> > Both patches were in linux-next and both patches have been pulled
> > by Linus. This is broken *now*.
> 
> Why are none of the build bots finding problems if this is currently
> broken and why did this not get fixed in -next when it was introduced?

I guess it is because at the moment nothing select REGMAP_W1 in
mainline. I did not (yet) queue the power-supply driver, which
was the initial reason for adding regmap w1 support.

> Like I say I provided a tag for this and didn't get any request to
> pull/apply the update in the other direction so it is extremely
> disappointing to see that the header move went ahead after that without
> the regmap support being included and someone else is having to come
> along and clean up the mess.

FWIW I am just the messenger, who actually pointed out the issue
_before_ it happened in the threads of both patchsets. I expected
this to be properly solved by you and Greg. Since this did not
work out regmap seems now the logical subsystem for the fix.

-- Sebastian

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

* Re: [PATCH] regmap: regmap-w1: Fix build troubles
       [not found]   ` <1098881499698175@web19o.yandex.ru>
@ 2017-07-10 14:59     ` Greg Kroah-Hartman
  0 siblings, 0 replies; 10+ messages in thread
From: Greg Kroah-Hartman @ 2017-07-10 14:59 UTC (permalink / raw)
  To: Evgeniy Polyakov
  Cc: Sebastian Reichel, Alex A. Mihaylov, Mark Brown, linux-kernel

On Mon, Jul 10, 2017 at 05:49:35PM +0300, Evgeniy Polyakov wrote:
> Hi everyone
> 
> 08.07.2017, 17:58, "Sebastian Reichel" <sebastian.reichel@collabora.co.uk>:
> > This should go into 4.13, but you actually did not include the
> > maintainer of regmap (which I just added, but you may have to
> > resend the patch, so that it lands in his inbox). Anyways the
> > change is:
> >
> > Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
> 
> Greg, please pull it into current mainline tree,
> it fixes build issue because of merge conflict between w1 regmap and public interface patches.
> 
> Thank you.
> 
> Acked-by: Evgeniy Polyakov <zbr@ioremap.net>

Sorry about this, I'll work on it after 4.13-rc1 is out.

greg k-h

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

* Re: [PATCH] regmap: regmap-w1: Fix build troubles
  2017-07-10 13:17         ` Sebastian Reichel
@ 2017-07-10 15:32           ` Mark Brown
  0 siblings, 0 replies; 10+ messages in thread
From: Mark Brown @ 2017-07-10 15:32 UTC (permalink / raw)
  To: Sebastian Reichel
  Cc: Alex A. Mihaylov, Evgeniy Polyakov, Greg Kroah-Hartman, linux-kernel

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

On Mon, Jul 10, 2017 at 03:17:17PM +0200, Sebastian Reichel wrote:
> On Mon, Jul 10, 2017 at 01:19:35PM +0100, Mark Brown wrote:

> > Like I say I provided a tag for this and didn't get any request to
> > pull/apply the update in the other direction so it is extremely
> > disappointing to see that the header move went ahead after that without
> > the regmap support being included and someone else is having to come
> > along and clean up the mess.

> FWIW I am just the messenger, who actually pointed out the issue
> _before_ it happened in the threads of both patchsets. I expected
> this to be properly solved by you and Greg. Since this did not
> work out regmap seems now the logical subsystem for the fix.

Well, I can't really apply it till after -rc1 since I'd have to pick a
random commit in Linus' tree to do it and that doesn't make him happy
usually.  Since it's not actually breaking the build or anything I'll
hold off till -rc1 and apply it then.

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

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

* Re: [PATCH] regmap: regmap-w1: Fix build troubles
  2017-07-06 13:10 ` [PATCH] regmap: regmap-w1: Fix build troubles Alex A. Mihaylov
@ 2017-07-07 10:07   ` Mark Brown
  0 siblings, 0 replies; 10+ messages in thread
From: Mark Brown @ 2017-07-07 10:07 UTC (permalink / raw)
  To: Alex A. Mihaylov; +Cc: Greg Kroah-Hartman, linux-kernel

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

On Thu, Jul 06, 2017 at 04:10:17PM +0300, Alex A. Mihaylov wrote:
> Fixes: cc5d0db390b0 ("regmap: Add 1-Wire bus support")
> Commit de0d6dbdbdb2 ("w1: Add subsystem kernel public interface")
> Fix place off w1.h header file

This needs to go in along with whatever is doing the move of the header
file, you should send the patch to the maintainers doing that.

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

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

* [PATCH] regmap: regmap-w1: Fix build troubles
  2017-07-06 13:10 [PATCH] power: power_supply: Add support for MAX1721x standalone fuel gauge Alex A. Mihaylov
@ 2017-07-06 13:10 ` Alex A. Mihaylov
  2017-07-07 10:07   ` Mark Brown
  0 siblings, 1 reply; 10+ messages in thread
From: Alex A. Mihaylov @ 2017-07-06 13:10 UTC (permalink / raw)
  To: Mark Brown, Greg Kroah-Hartman, linux-kernel; +Cc: Alex A. Mihaylov

Fixes: cc5d0db390b0 ("regmap: Add 1-Wire bus support")
Commit de0d6dbdbdb2 ("w1: Add subsystem kernel public interface")
Fix place off w1.h header file

Cosmetic: Fix company name (local to international)
Signed-off-by: Alex A. Mihaylov <minimumlaw@rambler.ru>
---
 drivers/base/regmap/regmap-w1.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/base/regmap/regmap-w1.c b/drivers/base/regmap/regmap-w1.c
index 5f04e7bf063e..e6c64b0be5b2 100644
--- a/drivers/base/regmap/regmap-w1.c
+++ b/drivers/base/regmap/regmap-w1.c
@@ -1,7 +1,7 @@
 /*
  * Register map access API - W1 (1-Wire) support
  *
- * Copyright (C) 2017 OAO Radioavionica
+ * Copyright (c) 2017 Radioavionica Corporation
  * Author: Alex A. Mihaylov <minimumlaw@rambler.ru>
  *
  * This program is free software; you can redistribute it and/or modify
@@ -11,7 +11,7 @@
 
 #include <linux/regmap.h>
 #include <linux/module.h>
-#include "../../w1/w1.h"
+#include <linux/w1.h>
 
 #include "internal.h"
 
-- 
2.13.0

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

end of thread, other threads:[~2017-07-10 15:33 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-07 15:38 [PATCH] regmap: regmap-w1: Fix build troubles Alex A. Mihaylov
2017-07-08 14:58 ` Sebastian Reichel
2017-07-10 10:31   ` Mark Brown
2017-07-10 11:51     ` Sebastian Reichel
2017-07-10 12:19       ` Mark Brown
2017-07-10 13:17         ` Sebastian Reichel
2017-07-10 15:32           ` Mark Brown
     [not found]   ` <1098881499698175@web19o.yandex.ru>
2017-07-10 14:59     ` Greg Kroah-Hartman
  -- strict thread matches above, loose matches on Subject: below --
2017-07-06 13:10 [PATCH] power: power_supply: Add support for MAX1721x standalone fuel gauge Alex A. Mihaylov
2017-07-06 13:10 ` [PATCH] regmap: regmap-w1: Fix build troubles Alex A. Mihaylov
2017-07-07 10:07   ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).