projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
07e27ad
)
mailbox: arm_mhuv3: Remove no_free_ptr() to maintain the original form of the pointer
author
Liao Yuanhong
<liaoyuanhong@vivo.com>
Mon, 11 Aug 2025 08:25:36 +0000
(16:25 +0800)
committer
Jassi Brar
<jassisinghbrar@gmail.com>
Mon, 6 Oct 2025 23:13:38 +0000
(18:13 -0500)
Remove no_free_ptr() to ensure PTR_ERR() consistently retrieves the correct
error code.
Signed-off-by: Liao Yuanhong <liaoyuanhong@vivo.com>
Acked-by: Cristian Marussi <cristian.marussi@arm.com>
Signed-off-by: Jassi Brar <jassisinghbrar@gmail.com>
drivers/mailbox/arm_mhuv3.c
patch
|
blob
|
history
diff --git
a/drivers/mailbox/arm_mhuv3.c
b/drivers/mailbox/arm_mhuv3.c
index
b97e79a
..
0910da6
100644
(file)
--- a/
drivers/mailbox/arm_mhuv3.c
+++ b/
drivers/mailbox/arm_mhuv3.c
@@
-945,7
+945,7
@@
static irqreturn_t mhuv3_mbx_comb_interrupt(int irq, void *arg)
if (IS_ERR(data)) {
dev_err(dev,
"Failed to read in-band data. err:%ld\n",
- PTR_ERR(
no_free_ptr(data)
));
+ PTR_ERR(
data
));
goto rx_ack;
}
}