xen: xen-pciback: fix warning Using plain integer as NULL pointer
PATCH 1/1 xen: xen-pciback: fix warning Using plain integer as NULL pointer
Changes passing function argument 0 to NULL to avoid below sparse warning
CHECK drivers/xen/xen-pciback/xenbus.cdrivers/xen/xen-pciback/xenbus.c:700:51: warning: Using plain integer as NULL pointer
--- drivers/xen/xen-pciback/xenbus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/xen/xen-pciback/xenbus.c +1 -1
@@ -697,7 +697,7 @@ static int xen_pcibk_xenbus_probe(struct xenbus_device *dev,/* We need to force a call to our callback here in case * xend already configured us! */ -xen_pcibk_be_watch (&pdev->be_watch,NULL ,0 ); +xen_pcibk_be_watch (&pdev->be_watch,NULL ,NULL ); out:return err;
Signature · 1 line
2.7.4
Quoted 8 lines · Hariprasad Kelam
Changes passing function argument 0 to NULL to avoid below sparse warning
CHECK
drivers/xen/xen-pciback/xenbus.cdrivers/xen/xen-pciback/xenbus.c:700:51: warning: Using plain integer as NULL pointerSigned-off-by Hariprasad Kelam <[email protected]>
Cheers,
-Mukesh
Quoted 9 lines
--- drivers/xen/xen-pciback/xenbus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/xen/xen-pciback/xenbus.c +0
-0
drivers/xen/xen-pciback/xenbus.c static int xen_pcibk_xenbus_probe(struct xenbus_device *dev, · line 703
Quoted 8 lines
drivers/xen/xen-pciback/xenbus.c +1
-1@@ -697,7 +697,7 @@ static int xen_pcibk_xenbus_probe(struct xenbus_device *dev,/* We need to force a call to our callback here in case * xend already configured us! */ -xen_pcibk_be_watch (&pdev->be_watch,NULL ,0 ); +xen_pcibk_be_watch (&pdev->be_watch,NULL ,NULL ); out:return err;
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Quoted 8 lines · Hariprasad Kelam
Changes passing function argument 0 to NULL to avoid below sparse warning
CHECK
drivers/xen/xen-pciback/xenbus.cdrivers/xen/xen-pciback/xenbus.c:700:51: warning: Using plain integer as NULL pointerSigned-off-by Hariprasad Kelam <[email protected]>
Cheers,
-Mukesh
Quoted 17 lines
--- drivers/xen/xen-pciback/xenbus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/xen/xen-pciback/xenbus.c +1
-1@@ -697,7 +697,7 @@ static int xen_pcibk_xenbus_probe(struct xenbus_device *dev,/* We need to force a call to our callback here in case * xend already configured us! */ -xen_pcibk_be_watch (&pdev->be_watch,NULL ,0 ); +xen_pcibk_be_watch (&pdev->be_watch,NULL ,NULL ); out:return err;
Quoted 8 lines · Hariprasad Kelam
Changes passing function argument 0 to NULL to avoid below sparse warning
CHECK
drivers/xen/xen-pciback/xenbus.cdrivers/xen/xen-pciback/xenbus.c:700:51: warning: Using plain integer as NULL pointerSigned-off-by Hariprasad Kelam <[email protected]>
Juergen
Quoted 8 lines · Hariprasad Kelam
Changes passing function argument 0 to NULL to avoid below sparse warning
CHECK
drivers/xen/xen-pciback/xenbus.cdrivers/xen/xen-pciback/xenbus.c:700:51: warning: Using plain integer as NULL pointerSigned-off-by Hariprasad Kelam <[email protected]>
Juergen
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Boris Ostrovsky
AppliedQuoted 8 lines · Hariprasad Kelam
Changes passing function argument 0 to NULL to avoid below sparse warning
CHECK
drivers/xen/xen-pciback/xenbus.cdrivers/xen/xen-pciback/xenbus.c:700:51: warning: Using plain integer as NULL pointerSigned-off-by Hariprasad Kelam <[email protected]>
Applied to for-linus-5.2
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Boris Ostrovsky
AppliedQuoted 8 lines · Hariprasad Kelam
Changes passing function argument 0 to NULL to avoid below sparse warning
CHECK
drivers/xen/xen-pciback/xenbus.cdrivers/xen/xen-pciback/xenbus.c:700:51: warning: Using plain integer as NULL pointerSigned-off-by Hariprasad Kelam <[email protected]>
Applied to for-linus-5.2