All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] [TRIVIAL] Remove braces to fix build for clang. No functional change otherwise.
@ 2013-08-20 20:52 dl9pf
  2013-08-20 21:24 ` Greg Kroah-Hartman
  0 siblings, 1 reply; 5+ messages in thread
From: dl9pf @ 2013-08-20 20:52 UTC (permalink / raw)
  To: dl9pf; +Cc: Arnd Bergmann, Greg Kroah-Hartman, linux-kernel

From: Jan-Simon Möller <dl9pf@gmx.de>

Author:  PaX Team <pageexec at freemail.hu>
ML-Post: http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20120507/142707.html
URL:     http://llvm.linuxfoundation.org

Merge:   Jan-Simon Möller <dl9pf at gmx.de>

Description:
  Clang chokes on the notation "inl (%dx)" but works for "inl %dx"; GNU as accepts both forms.

Signed-off-by: Jan-Simon Möller <dl9pf@gmx.de>

CC: Arnd Bergmann <arnd@arndb.de>
CC: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
CC: linux-kernel@vger.kernel.org
---
 drivers/misc/vmw_balloon.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/misc/vmw_balloon.c b/drivers/misc/vmw_balloon.c
index cb56e27..2421835 100644
--- a/drivers/misc/vmw_balloon.c
+++ b/drivers/misc/vmw_balloon.c
@@ -133,7 +133,7 @@ MODULE_LICENSE("GPL");
 #define VMWARE_BALLOON_CMD(cmd, data, result)		\
 ({							\
 	unsigned long __stat, __dummy1, __dummy2;	\
-	__asm__ __volatile__ ("inl (%%dx)" :		\
+	__asm__ __volatile__ ("inl %%dx" :		\
 		"=a"(__stat),				\
 		"=c"(__dummy1),				\
 		"=d"(__dummy2),				\
-- 
1.8.1.4


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

* Re: [PATCH] [TRIVIAL] Remove braces to fix build for clang. No functional change otherwise.
  2013-08-20 20:52 [PATCH] [TRIVIAL] Remove braces to fix build for clang. No functional change otherwise dl9pf
@ 2013-08-20 21:24 ` Greg Kroah-Hartman
  2013-08-20 21:26   ` Jan-Simon Möller
  0 siblings, 1 reply; 5+ messages in thread
From: Greg Kroah-Hartman @ 2013-08-20 21:24 UTC (permalink / raw)
  To: dl9pf; +Cc: Arnd Bergmann, linux-kernel

On Tue, Aug 20, 2013 at 10:52:06PM +0200, dl9pf@gmx.de wrote:
> From: Jan-Simon Möller <dl9pf@gmx.de>
> 
> Author:  PaX Team <pageexec at freemail.hu>
> ML-Post: http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20120507/142707.html
> URL:     http://llvm.linuxfoundation.org
> 
> Merge:   Jan-Simon Möller <dl9pf at gmx.de>

What am I supposed to do with these?

> Description:
>   Clang chokes on the notation "inl (%dx)" but works for "inl %dx"; GNU as accepts both forms.

No need for "description", that's implied by the body of the changelog
text.  Also, you can wrap your lines :)

I'll clean this all up by hand, but please do this next time so I don't
have to.

thanks,

greg k-h

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

* Re: [PATCH] [TRIVIAL] Remove braces to fix build for clang. No functional change otherwise.
  2013-08-20 21:24 ` Greg Kroah-Hartman
@ 2013-08-20 21:26   ` Jan-Simon Möller
  2013-08-20 21:43     ` Greg Kroah-Hartman
  0 siblings, 1 reply; 5+ messages in thread
From: Jan-Simon Möller @ 2013-08-20 21:26 UTC (permalink / raw)
  To: Greg Kroah-Hartman; +Cc: Arnd Bergmann, linux-kernel

On Tuesday 20 August 2013 14:24:33 Greg Kroah-Hartman wrote:
> On Tue, Aug 20, 2013 at 10:52:06PM +0200, dl9pf@gmx.de wrote:
> > From: Jan-Simon Möller <dl9pf@gmx.de>
> > 
> > Author:  PaX Team <pageexec at freemail.hu>
> > ML-Post:
> > http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20120507/1427
> > 07.html URL:     http://llvm.linuxfoundation.org
> > 
> > Merge:   Jan-Simon Möller <dl9pf at gmx.de>
> 
> What am I supposed to do with these?
> 
> > Description:
> >   Clang chokes on the notation "inl (%dx)" but works for "inl %dx"; GNU as
> >   accepts both forms.
> No need for "description", that's implied by the body of the changelog
> text.  Also, you can wrap your lines :)
> 
> I'll clean this all up by hand, but please do this next time so I don't
> have to.

Roger that - ignore it in the other 2 I just sent out.  c'n'p from the 
existing commit msg. 
Do you want all 3 w/o then ?

JS


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

* Re: [PATCH] [TRIVIAL] Remove braces to fix build for clang. No functional change otherwise.
  2013-08-20 21:26   ` Jan-Simon Möller
@ 2013-08-20 21:43     ` Greg Kroah-Hartman
  0 siblings, 0 replies; 5+ messages in thread
From: Greg Kroah-Hartman @ 2013-08-20 21:43 UTC (permalink / raw)
  To: Jan-Simon Möller; +Cc: Arnd Bergmann, linux-kernel

On Tue, Aug 20, 2013 at 11:26:01PM +0200, Jan-Simon Möller wrote:
> On Tuesday 20 August 2013 14:24:33 Greg Kroah-Hartman wrote:
> > On Tue, Aug 20, 2013 at 10:52:06PM +0200, dl9pf@gmx.de wrote:
> > > From: Jan-Simon Möller <dl9pf@gmx.de>
> > > 
> > > Author:  PaX Team <pageexec at freemail.hu>
> > > ML-Post:
> > > http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20120507/1427
> > > 07.html URL:     http://llvm.linuxfoundation.org
> > > 
> > > Merge:   Jan-Simon Möller <dl9pf at gmx.de>
> > 
> > What am I supposed to do with these?
> > 
> > > Description:
> > >   Clang chokes on the notation "inl (%dx)" but works for "inl %dx"; GNU as
> > >   accepts both forms.
> > No need for "description", that's implied by the body of the changelog
> > text.  Also, you can wrap your lines :)
> > 
> > I'll clean this all up by hand, but please do this next time so I don't
> > have to.
> 
> Roger that - ignore it in the other 2 I just sent out.  c'n'p from the 
> existing commit msg. 
> Do you want all 3 w/o then ?

As the other two were not sent to me (I'm not a maintainer of those
areas of the kernel), I have no idea, sorry.

greg k-h

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

* [PATCH] [TRIVIAL] Remove braces to fix build for clang. No functional change otherwise.
@ 2013-08-29 14:10 dl9pf
  0 siblings, 0 replies; 5+ messages in thread
From: dl9pf @ 2013-08-29 14:10 UTC (permalink / raw)
  To: dl9pf, linux-kernel; +Cc: 'Jiri Kosina'

From: Jan-Simon Möller <dl9pf@gmx.de>

Author:  PaX Team <pageexec at freemail.hu>
ML-Post: http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20120507/142707.html
URL:     http://llvm.linuxfoundation.org

Merge:   Jan-Simon Möller <dl9pf at gmx.de>

Description:
  Clang chokes on the notation "inl (%dx)" but works for "inl %dx"; GNU as 
accepts both forms.

Signed-off-by: Jan-Simon Möller <dl9pf@gmx.de>

CC: Arnd Bergmann <arnd@arndb.de>
CC: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
CC: linux-kernel@vger.kernel.org
---
 drivers/misc/vmw_balloon.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/misc/vmw_balloon.c b/drivers/misc/vmw_balloon.c
index cb56e27..2421835 100644
--- a/drivers/misc/vmw_balloon.c
+++ b/drivers/misc/vmw_balloon.c
@@ -133,7 +133,7 @@ MODULE_LICENSE("GPL");
 #define VMWARE_BALLOON_CMD(cmd, data, result)		\
 ({							\
 	unsigned long __stat, __dummy1, __dummy2;	\
-	__asm__ __volatile__ ("inl (%%dx)" :		\
+	__asm__ __volatile__ ("inl %%dx" :		\
 		"a"(__stat),				\
 		"c"(__dummy1),				\
 		"d"(__dummy2),				\
-- 
1.8.1.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

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

end of thread, other threads:[~2013-08-29 14:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-20 20:52 [PATCH] [TRIVIAL] Remove braces to fix build for clang. No functional change otherwise dl9pf
2013-08-20 21:24 ` Greg Kroah-Hartman
2013-08-20 21:26   ` Jan-Simon Möller
2013-08-20 21:43     ` Greg Kroah-Hartman
  -- strict thread matches above, loose matches on Subject: below --
2013-08-29 14:10 dl9pf

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.