All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net 0/2] s390/net: updates 2020-05-13
@ 2020-05-13  7:42 Ursula Braun
  2020-05-13  7:42 ` [PATCH net 1/2] s390/ism: fix error return code in ism_probe() Ursula Braun
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Ursula Braun @ 2020-05-13  7:42 UTC (permalink / raw)
  To: davem; +Cc: netdev, linux-s390, heiko.carstens, kgraul, weiyongjun1, ubraun

Dave,

please apply the fix from Wei Yongjun to netdev's net tree and
add Karsten Graul as co-maintainer for drivers/s390/net.

Thanks, Ursula

Ursula Braun (1):
  MAINTAINERS: add Karsten Graul as S390 NETWORK DRIVERS maintainer

Wei Yongjun (1):
  s390/ism: fix error return code in ism_probe()

 MAINTAINERS                | 1 +
 drivers/s390/net/ism_drv.c | 4 +++-
 2 files changed, 4 insertions(+), 1 deletion(-)

-- 
2.17.1


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

* [PATCH net 1/2] s390/ism: fix error return code in ism_probe()
  2020-05-13  7:42 [PATCH net 0/2] s390/net: updates 2020-05-13 Ursula Braun
@ 2020-05-13  7:42 ` Ursula Braun
  2020-05-13  7:42 ` [PATCH net 2/2] MAINTAINERS: add Karsten Graul as S390 NETWORK DRIVERS maintainer Ursula Braun
  2020-05-13 19:15 ` [PATCH net 0/2] s390/net: updates 2020-05-13 David Miller
  2 siblings, 0 replies; 4+ messages in thread
From: Ursula Braun @ 2020-05-13  7:42 UTC (permalink / raw)
  To: davem; +Cc: netdev, linux-s390, heiko.carstens, kgraul, weiyongjun1, ubraun

From: Wei Yongjun <weiyongjun1@huawei.com>

Fix to return negative error code -ENOMEM from the smcd_alloc_dev()
error handling case instead of 0, as done elsewhere in this function.

Fixes: 684b89bc39ce ("s390/ism: add device driver for internal shared memory")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Ursula Braun <ubraun@linux.ibm.com>
---
 drivers/s390/net/ism_drv.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/drivers/s390/net/ism_drv.c b/drivers/s390/net/ism_drv.c
index c75112ee7b97..c7fade836d83 100644
--- a/drivers/s390/net/ism_drv.c
+++ b/drivers/s390/net/ism_drv.c
@@ -521,8 +521,10 @@ static int ism_probe(struct pci_dev *pdev, const struct pci_device_id *id)
 
 	ism->smcd = smcd_alloc_dev(&pdev->dev, dev_name(&pdev->dev), &ism_ops,
 				   ISM_NR_DMBS);
-	if (!ism->smcd)
+	if (!ism->smcd) {
+		ret = -ENOMEM;
 		goto err_resource;
+	}
 
 	ism->smcd->priv = ism;
 	ret = ism_dev_init(ism);
-- 
2.17.1


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

* [PATCH net 2/2] MAINTAINERS: add Karsten Graul as S390 NETWORK DRIVERS maintainer
  2020-05-13  7:42 [PATCH net 0/2] s390/net: updates 2020-05-13 Ursula Braun
  2020-05-13  7:42 ` [PATCH net 1/2] s390/ism: fix error return code in ism_probe() Ursula Braun
@ 2020-05-13  7:42 ` Ursula Braun
  2020-05-13 19:15 ` [PATCH net 0/2] s390/net: updates 2020-05-13 David Miller
  2 siblings, 0 replies; 4+ messages in thread
From: Ursula Braun @ 2020-05-13  7:42 UTC (permalink / raw)
  To: davem; +Cc: netdev, linux-s390, heiko.carstens, kgraul, weiyongjun1, ubraun

Add Karsten as additional maintainer for drivers/s390/net .
One of his focal points is the ism driver.

Cc: Julian Wiedmann <jwi@linux.ibm.com>
Acked-by: Julian Wiedmann <jwi@linux.ibm.com>
Signed-off-by: Ursula Braun <ubraun@linux.ibm.com>
---
 MAINTAINERS | 1 +
 1 file changed, 1 insertion(+)

diff --git a/MAINTAINERS b/MAINTAINERS
index 88bf36ab2b22..85894787825e 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -14644,6 +14644,7 @@ F:	drivers/iommu/s390-iommu.c
 
 S390 IUCV NETWORK LAYER
 M:	Julian Wiedmann <jwi@linux.ibm.com>
+M:	Karsten Graul <kgraul@linux.ibm.com>
 M:	Ursula Braun <ubraun@linux.ibm.com>
 L:	linux-s390@vger.kernel.org
 S:	Supported
-- 
2.17.1


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

* Re: [PATCH net 0/2] s390/net: updates 2020-05-13
  2020-05-13  7:42 [PATCH net 0/2] s390/net: updates 2020-05-13 Ursula Braun
  2020-05-13  7:42 ` [PATCH net 1/2] s390/ism: fix error return code in ism_probe() Ursula Braun
  2020-05-13  7:42 ` [PATCH net 2/2] MAINTAINERS: add Karsten Graul as S390 NETWORK DRIVERS maintainer Ursula Braun
@ 2020-05-13 19:15 ` David Miller
  2 siblings, 0 replies; 4+ messages in thread
From: David Miller @ 2020-05-13 19:15 UTC (permalink / raw)
  To: ubraun; +Cc: netdev, linux-s390, heiko.carstens, kgraul, weiyongjun1

From: Ursula Braun <ubraun@linux.ibm.com>
Date: Wed, 13 May 2020 09:42:28 +0200

> please apply the fix from Wei Yongjun to netdev's net tree and
> add Karsten Graul as co-maintainer for drivers/s390/net.

Series applied, thanks.

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

end of thread, other threads:[~2020-05-13 19:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-13  7:42 [PATCH net 0/2] s390/net: updates 2020-05-13 Ursula Braun
2020-05-13  7:42 ` [PATCH net 1/2] s390/ism: fix error return code in ism_probe() Ursula Braun
2020-05-13  7:42 ` [PATCH net 2/2] MAINTAINERS: add Karsten Graul as S390 NETWORK DRIVERS maintainer Ursula Braun
2020-05-13 19:15 ` [PATCH net 0/2] s390/net: updates 2020-05-13 David Miller

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.