public inbox for linux-s390@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] fix sparse warning in linux-next
@ 2022-08-04 17:35 Matthew Rosato
  2022-08-04 17:35 ` [PATCH 1/1] KVM: s390: pci: fix airq_iv_create sparse warning Matthew Rosato
  0 siblings, 1 reply; 2+ messages in thread
From: Matthew Rosato @ 2022-08-04 17:35 UTC (permalink / raw)
  To: pbonzini; +Cc: kvm, borntraeger, imbrenda, linux-kernel, linux-s390

Hi Paolo,

Sorry I missed the initial report on this while out of the office.
This patch fixes a sparse warning that shows up in
'KVM: s390: pci: do initial setup for AEN interpretation'
as part of the 5.20/6.0 pull request.

Matthew Rosato (1):
  KVM: s390: pci: fix airq_iv_create sparse warning

 arch/s390/kvm/pci.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.31.1


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

* [PATCH 1/1] KVM: s390: pci: fix airq_iv_create sparse warning
  2022-08-04 17:35 [PATCH 0/1] fix sparse warning in linux-next Matthew Rosato
@ 2022-08-04 17:35 ` Matthew Rosato
  0 siblings, 0 replies; 2+ messages in thread
From: Matthew Rosato @ 2022-08-04 17:35 UTC (permalink / raw)
  To: pbonzini
  Cc: kvm, borntraeger, imbrenda, linux-kernel, linux-s390,
	kernel test robot

Fix the call to airq_iv_create to pass a NULL instead of 0.

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Matthew Rosato <mjrosato@linux.ibm.com>
---
 arch/s390/kvm/pci.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/s390/kvm/pci.c b/arch/s390/kvm/pci.c
index 4946fb7757d6..92a6998d8904 100644
--- a/arch/s390/kvm/pci.c
+++ b/arch/s390/kvm/pci.c
@@ -58,7 +58,7 @@ static int zpci_setup_aipb(u8 nisc)
 	if (!zpci_aipb)
 		return -ENOMEM;
 
-	aift->sbv = airq_iv_create(ZPCI_NR_DEVICES, AIRQ_IV_ALLOC, 0);
+	aift->sbv = airq_iv_create(ZPCI_NR_DEVICES, AIRQ_IV_ALLOC, NULL);
 	if (!aift->sbv) {
 		rc = -ENOMEM;
 		goto free_aipb;
-- 
2.31.1


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

end of thread, other threads:[~2022-08-04 17:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-04 17:35 [PATCH 0/1] fix sparse warning in linux-next Matthew Rosato
2022-08-04 17:35 ` [PATCH 1/1] KVM: s390: pci: fix airq_iv_create sparse warning Matthew Rosato

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox