mirror of https://github.com/torvalds/linux.git
mailbox: arm_mhuv3: Remove no_free_ptr() to maintain the original form of the pointer
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>
This commit is contained in:
parent
07e27ad163
commit
d303528296
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue