projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net: hns: delete redundancy ring enable operations
[deliverable/linux.git]
/
drivers
/
mailbox
/
mailbox-xgene-slimpro.c
diff --git
a/drivers/mailbox/mailbox-xgene-slimpro.c
b/drivers/mailbox/mailbox-xgene-slimpro.c
index bd07f39f06926dad75c7dfc4759c449b86af3ce2..dd2afbca51c9b8d2c155003548d31da28f81c3ce 100644
(file)
--- a/
drivers/mailbox/mailbox-xgene-slimpro.c
+++ b/
drivers/mailbox/mailbox-xgene-slimpro.c
@@
-189,8
+189,8
@@
static int slimpro_mbox_probe(struct platform_device *pdev)
int i;
ctx = devm_kzalloc(&pdev->dev, sizeof(struct slimpro_mbox), GFP_KERNEL);
- if (
IS_ERR(ctx)
)
- return
PTR_ERR(ctx)
;
+ if (
!ctx
)
+ return
-ENOMEM
;
platform_set_drvdata(pdev, ctx);
This page took
0.032091 seconds
and
5
git commands to generate.