linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: build warning after merge of the kvm tree
@ 2010-07-26  5:14 Stephen Rothwell
  2010-07-26  5:47 ` [PATCH] KVM: fix compile warning Xiao Guangrong
  0 siblings, 1 reply; 24+ messages in thread
From: Stephen Rothwell @ 2010-07-26  5:14 UTC (permalink / raw)
  To: Avi Kivity, Marcelo Tosatti; +Cc: linux-next, linux-kernel, Xiao Guangrong

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

Hi all,

After merging the kvm tree, today's linux-next build (x86_64
allmodconfig) produced this warning:

arch/x86/kvm/mmu.c: In function 'kvm_mmu_pte_write':
arch/x86/kvm/mmu.c:2908: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~'

Introduced by commit af8720393c71a8f81ade71c404798d80c68c5d73 ("KVM: MMU:
add missing reserved bits check in speculative path").
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 490 bytes --]

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

* [PATCH] KVM: fix compile warning
  2010-07-26  5:14 linux-next: build warning after merge of the kvm tree Stephen Rothwell
@ 2010-07-26  5:47 ` Xiao Guangrong
  2010-07-27 21:40   ` Marcelo Tosatti
  0 siblings, 1 reply; 24+ messages in thread
From: Xiao Guangrong @ 2010-07-26  5:47 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: Avi Kivity, Marcelo Tosatti, linux-next, linux-kernel, KVM list


Stephen Rothwell wrote:
> Hi all,
> 
> After merging the kvm tree, today's linux-next build (x86_64
> allmodconfig) produced this warning:
> 
> arch/x86/kvm/mmu.c: In function 'kvm_mmu_pte_write':
> arch/x86/kvm/mmu.c:2908: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~'
> 
> Introduced by commit af8720393c71a8f81ade71c404798d80c68c5d73 ("KVM: MMU:
> add missing reserved bits check in speculative path").

Hi Stephen,

Thanks for your report, this patch can fix it.

Subject: [PATCH] KVM: fix compile warning

Fix:
arch/x86/kvm/mmu.c: In function 'kvm_mmu_pte_write':
arch/x86/kvm/mmu.c:2908: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~'

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com>
---
 arch/x86/kvm/mmu.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/x86/kvm/mmu.c b/arch/x86/kvm/mmu.c
index 1a8f43f..0dcc95e 100644
--- a/arch/x86/kvm/mmu.c
+++ b/arch/x86/kvm/mmu.c
@@ -2904,8 +2904,8 @@ void kvm_mmu_pte_write(struct kvm_vcpu *vcpu, gpa_t gpa,
 			entry = *spte;
 			mmu_pte_write_zap_pte(vcpu, sp, spte);
 			if (gentry &&
-			      !(sp->role.word ^ vcpu->arch.mmu.base_role.word)
-			      & mask.word)
+			      !((sp->role.word ^ vcpu->arch.mmu.base_role.word)
+			      & mask.word))
 				mmu_pte_write_new_pte(vcpu, sp, spte, &gentry);
 			if (!remote_flush && need_remote_flush(entry, *spte))
 				remote_flush = true;
-- 
1.6.5.2

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

* Re: [PATCH] KVM: fix compile warning
  2010-07-26  5:47 ` [PATCH] KVM: fix compile warning Xiao Guangrong
@ 2010-07-27 21:40   ` Marcelo Tosatti
  0 siblings, 0 replies; 24+ messages in thread
From: Marcelo Tosatti @ 2010-07-27 21:40 UTC (permalink / raw)
  To: Xiao Guangrong
  Cc: Stephen Rothwell, Avi Kivity, linux-next, linux-kernel, KVM list

On Mon, Jul 26, 2010 at 01:47:23PM +0800, Xiao Guangrong wrote:
> 
> Stephen Rothwell wrote:
> > Hi all,
> > 
> > After merging the kvm tree, today's linux-next build (x86_64
> > allmodconfig) produced this warning:
> > 
> > arch/x86/kvm/mmu.c: In function 'kvm_mmu_pte_write':
> > arch/x86/kvm/mmu.c:2908: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~'
> > 
> > Introduced by commit af8720393c71a8f81ade71c404798d80c68c5d73 ("KVM: MMU:
> > add missing reserved bits check in speculative path").
> 
> Hi Stephen,
> 
> Thanks for your report, this patch can fix it.
> 
> Subject: [PATCH] KVM: fix compile warning
> 
> Fix:
> arch/x86/kvm/mmu.c: In function 'kvm_mmu_pte_write':
> arch/x86/kvm/mmu.c:2908: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~'
> 
> Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
> Signed-off-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com>
> ---
>  arch/x86/kvm/mmu.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)

Applied, thanks.

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

* Re: linux-next: build warning after merge of the kvm tree
  2023-11-14  3:13 linux-next: build warning after merge of the kvm tree Stephen Rothwell
@ 2023-11-14 12:50 ` Paolo Bonzini
  0 siblings, 0 replies; 24+ messages in thread
From: Paolo Bonzini @ 2023-11-14 12:50 UTC (permalink / raw)
  To: Stephen Rothwell, KVM; +Cc: Linux Kernel Mailing List, Linux Next Mailing List

On 11/14/23 04:13, Stephen Rothwell wrote:
> Hi all,
> 
> After merging the kvm tree, today's linux-next build (htmldocs) produced
> this warning:
> 
> Documentation/filesystems/api-summary:74: fs/anon_inodes.c:167: ERROR: Unexpected indentation.
> Documentation/filesystems/api-summary:74: fs/anon_inodes.c:168: WARNING: Block quote ends without a blank line; unexpected unindent.

This reproduces with the version of sphinx in
Documentation/sphinx/requirements.txt.  The fix is
simply this, for which I will send a patch:

diff --git a/fs/anon_inodes.c b/fs/anon_inodes.c
index e02f4e2e2ece..0496cb5b6eab 100644
--- a/fs/anon_inodes.c
+++ b/fs/anon_inodes.c
@@ -163,8 +163,10 @@ EXPORT_SYMBOL_GPL(anon_inode_getfile);
   *
   * Create a new anonymous inode and file pair.  This can be done for two
   * reasons:
+ *
   * - for the inode to have its own security context, so that LSMs can enforce
   *   policy on the inode's creation;
+ *
   * - if the caller needs a unique inode, for example in order to customize
   *   the size returned by fstat()
   *
@@ -250,8 +252,10 @@ EXPORT_SYMBOL_GPL(anon_inode_getfd);
   *
   * Create a new anonymous inode and file pair.  This can be done for two
   * reasons:
+ *
   * - for the inode to have its own security context, so that LSMs can enforce
   *   policy on the inode's creation;
+ *
   * - if the caller needs a unique inode, for example in order to customize
   *   the size returned by fstat()
   *

Paolo


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

* linux-next: build warning after merge of the kvm tree
@ 2023-11-14  3:13 Stephen Rothwell
  2023-11-14 12:50 ` Paolo Bonzini
  0 siblings, 1 reply; 24+ messages in thread
From: Stephen Rothwell @ 2023-11-14  3:13 UTC (permalink / raw)
  To: Paolo Bonzini, KVM; +Cc: Linux Kernel Mailing List, Linux Next Mailing List

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

Hi all,

After merging the kvm tree, today's linux-next build (htmldocs) produced
this warning:

Documentation/filesystems/api-summary:74: fs/anon_inodes.c:167: ERROR: Unexpected indentation.
Documentation/filesystems/api-summary:74: fs/anon_inodes.c:168: WARNING: Block quote ends without a blank line; unexpected unindent.

Introduced by commit

  e4c866e72563 ("fs: Rename anon_inode_getfile_secure() and anon_inode_getfd_secure()")

-- 
Cheers,
Stephen Rothwell

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

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

* Re: linux-next: build warning after merge of the kvm tree
  2022-12-13  4:41 Stephen Rothwell
@ 2022-12-13  5:11 ` Sean Christopherson
  0 siblings, 0 replies; 24+ messages in thread
From: Sean Christopherson @ 2022-12-13  5:11 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: Paolo Bonzini, KVM, Linux Kernel Mailing List, Linux Next Mailing List

On Tue, Dec 13, 2022, Stephen Rothwell wrote:
> Hi all,
> 
> After merging the kvm tree, today's linux-next build (htmldocs) produced
> this warning:
> 
> Documentation/virt/kvm/api.rst:7260: ERROR: Unexpected indentation.
> Documentation/virt/kvm/api.rst:7261: WARNING: Block quote ends without a blank line; unexpected unindent.
> 
> Introduced by commit
> 
>   1f158147181b ("KVM: x86: Clean up KVM_CAP_X86_USER_SPACE_MSR documentation")

On it, should hit next soon.  Thanks!

https://lore.kernel.org/all/20221207000959.2035098-1-seanjc@google.com

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

* linux-next: build warning after merge of the kvm tree
@ 2022-12-13  4:41 Stephen Rothwell
  2022-12-13  5:11 ` Sean Christopherson
  0 siblings, 1 reply; 24+ messages in thread
From: Stephen Rothwell @ 2022-12-13  4:41 UTC (permalink / raw)
  To: Paolo Bonzini
  Cc: KVM, Sean Christopherson, Linux Kernel Mailing List,
	Linux Next Mailing List

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

Hi all,

After merging the kvm tree, today's linux-next build (htmldocs) produced
this warning:

Documentation/virt/kvm/api.rst:7260: ERROR: Unexpected indentation.
Documentation/virt/kvm/api.rst:7261: WARNING: Block quote ends without a blank line; unexpected unindent.

Introduced by commit

  1f158147181b ("KVM: x86: Clean up KVM_CAP_X86_USER_SPACE_MSR documentation")

-- 
Cheers,
Stephen Rothwell

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

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

* Re: linux-next: build warning after merge of the kvm tree
  2022-06-27  8:19 Stephen Rothwell
  2022-06-27  9:57 ` Bagas Sanjaya
@ 2022-08-09  6:41 ` Stephen Rothwell
  1 sibling, 0 replies; 24+ messages in thread
From: Stephen Rothwell @ 2022-08-09  6:41 UTC (permalink / raw)
  To: Paolo Bonzini, KVM
  Cc: Ben Gardon, Linux Kernel Mailing List, Linux Next Mailing List

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

Hi all,

On Mon, 27 Jun 2022 18:19:37 +1000 Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>
> After merging the kvm tree, today's linux-next build (htmldocs) produced
> this warning:
> 
> Documentation/virt/kvm/api.rst:8210: WARNING: Title underline too short.
> 
> 8.38 KVM_CAP_VM_DISABLE_NX_HUGE_PAGES
> ---------------------------
> Documentation/virt/kvm/api.rst:8217: WARNING: Unexpected indentation.
> 
> Introduced by commit
> 
>   084cc29f8bbb ("KVM: x86/MMU: Allow NX huge pages to be disabled on a per-vm basis")

I am still seeing these warnings.  That commit is now in Linus' tree :-(

-- 
Cheers,
Stephen Rothwell

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

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

* Re: linux-next: build warning after merge of the kvm tree
  2022-06-27  8:19 Stephen Rothwell
@ 2022-06-27  9:57 ` Bagas Sanjaya
  2022-08-09  6:41 ` Stephen Rothwell
  1 sibling, 0 replies; 24+ messages in thread
From: Bagas Sanjaya @ 2022-06-27  9:57 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: Paolo Bonzini, KVM, Ben Gardon, Linux Kernel Mailing List,
	Linux Next Mailing List

On Mon, Jun 27, 2022 at 06:19:37PM +1000, Stephen Rothwell wrote:
> Hi all,
> 
> After merging the kvm tree, today's linux-next build (htmldocs) produced
> this warning:
> 
> Documentation/virt/kvm/api.rst:8210: WARNING: Title underline too short.
> 
> 8.38 KVM_CAP_VM_DISABLE_NX_HUGE_PAGES
> ---------------------------
> Documentation/virt/kvm/api.rst:8217: WARNING: Unexpected indentation.
> 
> Introduced by commit
> 
>   084cc29f8bbb ("KVM: x86/MMU: Allow NX huge pages to be disabled on a per-vm basis")
> 

Hi Stephen and Paolo,

I have sent the fixes at [1], please test.

[1] https://lore.kernel.org/linux-doc/20220627095151.19339-1-bagasdotme@gmail.com/

Thanks.

-- 
An old man doll... just what I always wanted! - Clara

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

* linux-next: build warning after merge of the kvm tree
@ 2022-06-27  8:19 Stephen Rothwell
  2022-06-27  9:57 ` Bagas Sanjaya
  2022-08-09  6:41 ` Stephen Rothwell
  0 siblings, 2 replies; 24+ messages in thread
From: Stephen Rothwell @ 2022-06-27  8:19 UTC (permalink / raw)
  To: Paolo Bonzini, KVM
  Cc: Ben Gardon, Linux Kernel Mailing List, Linux Next Mailing List

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

Hi all,

After merging the kvm tree, today's linux-next build (htmldocs) produced
this warning:

Documentation/virt/kvm/api.rst:8210: WARNING: Title underline too short.

8.38 KVM_CAP_VM_DISABLE_NX_HUGE_PAGES
---------------------------
Documentation/virt/kvm/api.rst:8217: WARNING: Unexpected indentation.

Introduced by commit

  084cc29f8bbb ("KVM: x86/MMU: Allow NX huge pages to be disabled on a per-vm basis")

-- 
Cheers,
Stephen Rothwell

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

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

* RE: linux-next: build warning after merge of the kvm tree
  2022-01-20  3:36   ` Stephen Rothwell
@ 2022-01-20  5:52     ` Wang, Wei W
  0 siblings, 0 replies; 24+ messages in thread
From: Wang, Wei W @ 2022-01-20  5:52 UTC (permalink / raw)
  To: Stephen Rothwell, Paolo Bonzini
  Cc: KVM, Zeng, Guang, Liu, Jing2, Tian, Kevin, Zhong, Yang,
	Linux Kernel Mailing List, Linux Next Mailing List

On Thursday, January 20, 2022 11:36 AM, Stephen Rothwell wrote:
> On Tue, 11 Jan 2022 02:55:56 +0000 "Wang, Wei W" <wei.w.wang@intel.com>
> wrote:
> >
> > On Monday, January 10, 2022 4:59 PM, Stephen Rothwell wrote:
> > > After merging the kvm tree, today's linux-next build (htmldocs) produced
> this
> > > warning:
> > >
> > > Documentation/virt/kvm/api.rst:5549: WARNING: Title underline too
> short.
> > >
> > > 4.42 KVM_GET_XSAVE2
> > > ------------------
> >
> > Should add one more "_" above.
> > 4.42 KVM_GET_XSAVE2
> > -------------------
> > +-------------------
> >
> > Paolo, do you want us to send another patch to add it or you can just add it?
> 
> I am still seeing this warning.
> 

I'll get you a patch to test soon.

Thanks,
Wei

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

* Re: linux-next: build warning after merge of the kvm tree
  2022-01-11  2:55 ` Wang, Wei W
@ 2022-01-20  3:36   ` Stephen Rothwell
  2022-01-20  5:52     ` Wang, Wei W
  0 siblings, 1 reply; 24+ messages in thread
From: Stephen Rothwell @ 2022-01-20  3:36 UTC (permalink / raw)
  To: Paolo Bonzini
  Cc: Wang, Wei W, KVM, Zeng, Guang, Liu, Jing2, Tian, Kevin, Zhong,
	Yang, Linux Kernel Mailing List, Linux Next Mailing List

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

Hi all,

On Tue, 11 Jan 2022 02:55:56 +0000 "Wang, Wei W" <wei.w.wang@intel.com> wrote:
>
> On Monday, January 10, 2022 4:59 PM, Stephen Rothwell wrote:
> > After merging the kvm tree, today's linux-next build (htmldocs) produced this
> > warning:
> > 
> > Documentation/virt/kvm/api.rst:5549: WARNING: Title underline too short.
> > 
> > 4.42 KVM_GET_XSAVE2
> > ------------------  
> 
> Should add one more "_" above.
> 4.42 KVM_GET_XSAVE2
> -------------------
> +-------------------
> 
> Paolo, do you want us to send another patch to add it or you can just add it?

I am still seeing this warning.

-- 
Cheers,
Stephen Rothwell

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

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

* RE: linux-next: build warning after merge of the kvm tree
  2022-01-10  8:58 Stephen Rothwell
@ 2022-01-11  2:55 ` Wang, Wei W
  2022-01-20  3:36   ` Stephen Rothwell
  0 siblings, 1 reply; 24+ messages in thread
From: Wang, Wei W @ 2022-01-11  2:55 UTC (permalink / raw)
  To: Stephen Rothwell, Paolo Bonzini, KVM
  Cc: Zeng, Guang, Liu, Jing2, Tian, Kevin, Zhong, Yang,
	Linux Kernel Mailing List, Linux Next Mailing List

On Monday, January 10, 2022 4:59 PM, Stephen Rothwell wrote:
> After merging the kvm tree, today's linux-next build (htmldocs) produced this
> warning:
> 
> Documentation/virt/kvm/api.rst:5549: WARNING: Title underline too short.
> 
> 4.42 KVM_GET_XSAVE2
> ------------------

Should add one more "_" above.
4.42 KVM_GET_XSAVE2
-------------------
+-------------------

Paolo, do you want us to send another patch to add it or you can just add it?

Thanks,
Wei

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

* linux-next: build warning after merge of the kvm tree
@ 2022-01-10  8:58 Stephen Rothwell
  2022-01-11  2:55 ` Wang, Wei W
  0 siblings, 1 reply; 24+ messages in thread
From: Stephen Rothwell @ 2022-01-10  8:58 UTC (permalink / raw)
  To: Paolo Bonzini, KVM
  Cc: Guang Zeng, Jing Liu, Kevin Tian, Wei Wang, Yang Zhong,
	Linux Kernel Mailing List, Linux Next Mailing List

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

Hi all,

After merging the kvm tree, today's linux-next build (htmldocs) produced
this warning:

Documentation/virt/kvm/api.rst:5549: WARNING: Title underline too short.

4.42 KVM_GET_XSAVE2
------------------

Introduced by commit

  16786d406fe8 ("kvm: x86: Add support for getting/setting expanded xstate buffer")

-- 
Cheers,
Stephen Rothwell

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

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

* linux-next: build warning after merge of the kvm tree
@ 2021-04-22  8:53 Stephen Rothwell
  0 siblings, 0 replies; 24+ messages in thread
From: Stephen Rothwell @ 2021-04-22  8:53 UTC (permalink / raw)
  To: Paolo Bonzini, KVM
  Cc: Kai Huang, Sean Christopherson, Sean Christopherson,
	Linux Kernel Mailing List, Linux Next Mailing List

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

Hi all,

After merging the kvm tree, today's linux-next build (htmldocs) produced
this warning:

Documentation/virt/kvm/api.rst:6243: WARNING: Title underline too short.

7.25 KVM_CAP_SGX_ATTRIBUTE
----------------------

Introduced by commit

  fe7e948837f3 ("KVM: x86: Add capability to grant VM access to privileged SGX attribute")

-- 
Cheers,
Stephen Rothwell

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

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

* Re: linux-next: build warning after merge of the kvm tree
  2021-02-09  9:59 Stephen Rothwell
@ 2021-02-09 10:01 ` Paolo Bonzini
  0 siblings, 0 replies; 24+ messages in thread
From: Paolo Bonzini @ 2021-02-09 10:01 UTC (permalink / raw)
  To: Stephen Rothwell, KVM
  Cc: Linux Kernel Mailing List, Linux Next Mailing List, David Woodhouse

On 09/02/21 10:59, Stephen Rothwell wrote:
> Hi all,
> 
> After merging the kvm tree, today's linux-next build (htmldocs) produced
> this warning:
> 
> Documentation/virt/kvm/api.rst:4927: WARNING: Title underline too short.
> 
> 4.130 KVM_XEN_VCPU_GET_ATTR
> --------------------------
> 
> Introduced by commit
> 
>    e1f68169a4f8 ("KVM: Add documentation for Xen hypercall and shared_info updates")
> 

Thanks, will fix.

Paolo


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

* linux-next: build warning after merge of the kvm tree
@ 2021-02-09  9:59 Stephen Rothwell
  2021-02-09 10:01 ` Paolo Bonzini
  0 siblings, 1 reply; 24+ messages in thread
From: Stephen Rothwell @ 2021-02-09  9:59 UTC (permalink / raw)
  To: Paolo Bonzini, KVM
  Cc: Linux Kernel Mailing List, Linux Next Mailing List, David Woodhouse

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

Hi all,

After merging the kvm tree, today's linux-next build (htmldocs) produced
this warning:

Documentation/virt/kvm/api.rst:4927: WARNING: Title underline too short.

4.130 KVM_XEN_VCPU_GET_ATTR
--------------------------

Introduced by commit

  e1f68169a4f8 ("KVM: Add documentation for Xen hypercall and shared_info updates")

-- 
Cheers,
Stephen Rothwell

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

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

* linux-next: build warning after merge of the kvm tree
@ 2019-11-25  3:03 Stephen Rothwell
  0 siblings, 0 replies; 24+ messages in thread
From: Stephen Rothwell @ 2019-11-25  3:03 UTC (permalink / raw)
  To: Paolo Bonzini, Radim Krčmář
  Cc: KVM, Linux Next Mailing List, Linux Kernel Mailing List

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

Hi all,

After merging the kvm tree, today's linux-next build (x86_64 allmodconfig)
produced this warning:

WARNING: "kvm_get_arch_capabilities" [arch/x86/kvm/kvm] is a static EXPORT_SYMBOL_GPL

Introduced by commit

  cbbaa2727aa3 ("KVM: x86: fix presentation of TSX feature in ARCH_CAPABILITIES")

-- 
Cheers,
Stephen Rothwell

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

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

* Re: linux-next: build warning after merge of the kvm tree
  2013-01-10  2:34 Stephen Rothwell
@ 2013-01-10  6:56 ` Gleb Natapov
  0 siblings, 0 replies; 24+ messages in thread
From: Gleb Natapov @ 2013-01-10  6:56 UTC (permalink / raw)
  To: Stephen Rothwell; +Cc: Marcelo Tosatti, linux-next, linux-kernel

On Thu, Jan 10, 2013 at 01:34:36PM +1100, Stephen Rothwell wrote:
> Hi Marcelo,
> 
> After merging the kvm tree, today's linux-next build (x86_64 allmodconfig)
> produced this warning:
> 
> In file included from arch/x86/kvm/mmu.c:3482:0:
> arch/x86/kvm/paging_tmpl.h: In function 'paging64_walk_addr_generic':
> arch/x86/kvm/paging_tmpl.h:154:57: warning: unused variable 'shift' [-Wunused-variable]
> In file included from arch/x86/kvm/mmu.c:3486:0:
> arch/x86/kvm/paging_tmpl.h: In function 'paging32_walk_addr_generic':
> arch/x86/kvm/paging_tmpl.h:154:57: warning: unused variable 'shift' [-Wunused-variable]
> 
> Introduced by commit 908e7d7999bc ("KVM: MMU: simplify folding of dirty
> bit into accessed_dirty").
> 
Was fixed yesterday. Thanks.

--
			Gleb.

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

* linux-next: build warning after merge of the kvm tree
@ 2013-01-10  2:34 Stephen Rothwell
  2013-01-10  6:56 ` Gleb Natapov
  0 siblings, 1 reply; 24+ messages in thread
From: Stephen Rothwell @ 2013-01-10  2:34 UTC (permalink / raw)
  To: Marcelo Tosatti; +Cc: linux-next, linux-kernel, Gleb Natapov

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

Hi Marcelo,

After merging the kvm tree, today's linux-next build (x86_64 allmodconfig)
produced this warning:

In file included from arch/x86/kvm/mmu.c:3482:0:
arch/x86/kvm/paging_tmpl.h: In function 'paging64_walk_addr_generic':
arch/x86/kvm/paging_tmpl.h:154:57: warning: unused variable 'shift' [-Wunused-variable]
In file included from arch/x86/kvm/mmu.c:3486:0:
arch/x86/kvm/paging_tmpl.h: In function 'paging32_walk_addr_generic':
arch/x86/kvm/paging_tmpl.h:154:57: warning: unused variable 'shift' [-Wunused-variable]

Introduced by commit 908e7d7999bc ("KVM: MMU: simplify folding of dirty
bit into accessed_dirty").

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

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

* Re: linux-next: build warning after merge of the kvm tree
  2010-05-27 10:19 ` Roedel, Joerg
  2010-05-27 10:49   ` Stephen Rothwell
@ 2010-05-27 12:13   ` Avi Kivity
  1 sibling, 0 replies; 24+ messages in thread
From: Avi Kivity @ 2010-05-27 12:13 UTC (permalink / raw)
  To: Roedel, Joerg; +Cc: Stephen Rothwell, Marcelo Tosatti, linux-next, linux-kernel

On 05/27/2010 01:19 PM, Roedel, Joerg wrote:
> On Thu, May 27, 2010 at 12:53:07AM -0400, Stephen Rothwell wrote:
>    
>> After merging the kvm tree, today's linux-next build (x86_64 allmodconfig)
>> produced this warning:
>>
>> arch/x86/kvm/svm.c: In function 'svm_handle_mce':
>> arch/x86/kvm/svm.c:1489: warning: unused variable 'kvm_run'
>>
>> Introduced by commit 5c91e7b615f7b6b36f6ad32356bb786bed5b7764 ("KVM: SVM:
>> Implement workaround for Erratum 383").
>>      
> Fix for that is already posted and should be in the KVM tree soon.
>
>    

I've just pushed it to linux-next.

-- 
error compiling committee.c: too many arguments to function

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

* Re: linux-next: build warning after merge of the kvm tree
  2010-05-27 10:19 ` Roedel, Joerg
@ 2010-05-27 10:49   ` Stephen Rothwell
  2010-05-27 12:13   ` Avi Kivity
  1 sibling, 0 replies; 24+ messages in thread
From: Stephen Rothwell @ 2010-05-27 10:49 UTC (permalink / raw)
  To: Roedel, Joerg; +Cc: Avi Kivity, Marcelo Tosatti, linux-next, linux-kernel

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

Hi Joerg,

On Thu, 27 May 2010 12:19:58 +0200 "Roedel, Joerg" <Joerg.Roedel@amd.com> wrote:
>
> Fix for that is already posted and should be in the KVM tree soon.

Great, thanks.

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

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

* Re: linux-next: build warning after merge of the kvm tree
  2010-05-27  4:53 Stephen Rothwell
@ 2010-05-27 10:19 ` Roedel, Joerg
  2010-05-27 10:49   ` Stephen Rothwell
  2010-05-27 12:13   ` Avi Kivity
  0 siblings, 2 replies; 24+ messages in thread
From: Roedel, Joerg @ 2010-05-27 10:19 UTC (permalink / raw)
  To: Stephen Rothwell; +Cc: Avi Kivity, Marcelo Tosatti, linux-next, linux-kernel

On Thu, May 27, 2010 at 12:53:07AM -0400, Stephen Rothwell wrote:
> After merging the kvm tree, today's linux-next build (x86_64 allmodconfig)
> produced this warning:
> 
> arch/x86/kvm/svm.c: In function 'svm_handle_mce':
> arch/x86/kvm/svm.c:1489: warning: unused variable 'kvm_run'
> 
> Introduced by commit 5c91e7b615f7b6b36f6ad32356bb786bed5b7764 ("KVM: SVM:
> Implement workaround for Erratum 383").

Fix for that is already posted and should be in the KVM tree soon.

	Joerg

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

* linux-next: build warning after merge of the kvm tree
@ 2010-05-27  4:53 Stephen Rothwell
  2010-05-27 10:19 ` Roedel, Joerg
  0 siblings, 1 reply; 24+ messages in thread
From: Stephen Rothwell @ 2010-05-27  4:53 UTC (permalink / raw)
  To: Avi Kivity, Marcelo Tosatti; +Cc: linux-next, linux-kernel, Joerg Roedel

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

Hi all,

After merging the kvm tree, today's linux-next build (x86_64 allmodconfig)
produced this warning:

arch/x86/kvm/svm.c: In function 'svm_handle_mce':
arch/x86/kvm/svm.c:1489: warning: unused variable 'kvm_run'

Introduced by commit 5c91e7b615f7b6b36f6ad32356bb786bed5b7764 ("KVM: SVM:
Implement workaround for Erratum 383").

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

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

end of thread, other threads:[~2023-11-14 12:50 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-26  5:14 linux-next: build warning after merge of the kvm tree Stephen Rothwell
2010-07-26  5:47 ` [PATCH] KVM: fix compile warning Xiao Guangrong
2010-07-27 21:40   ` Marcelo Tosatti
  -- strict thread matches above, loose matches on Subject: below --
2023-11-14  3:13 linux-next: build warning after merge of the kvm tree Stephen Rothwell
2023-11-14 12:50 ` Paolo Bonzini
2022-12-13  4:41 Stephen Rothwell
2022-12-13  5:11 ` Sean Christopherson
2022-06-27  8:19 Stephen Rothwell
2022-06-27  9:57 ` Bagas Sanjaya
2022-08-09  6:41 ` Stephen Rothwell
2022-01-10  8:58 Stephen Rothwell
2022-01-11  2:55 ` Wang, Wei W
2022-01-20  3:36   ` Stephen Rothwell
2022-01-20  5:52     ` Wang, Wei W
2021-04-22  8:53 Stephen Rothwell
2021-02-09  9:59 Stephen Rothwell
2021-02-09 10:01 ` Paolo Bonzini
2019-11-25  3:03 Stephen Rothwell
2013-01-10  2:34 Stephen Rothwell
2013-01-10  6:56 ` Gleb Natapov
2010-05-27  4:53 Stephen Rothwell
2010-05-27 10:19 ` Roedel, Joerg
2010-05-27 10:49   ` Stephen Rothwell
2010-05-27 12:13   ` Avi Kivity

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).