diff options
-rw-r--r-- | arch/powerpc/sysdev/fsl_rmu.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/sysdev/fsl_rmu.c b/arch/powerpc/sysdev/fsl_rmu.c index 02445a51949d..15485789e9db 100644 --- a/arch/powerpc/sysdev/fsl_rmu.c +++ b/arch/powerpc/sysdev/fsl_rmu.c | |||
@@ -1081,6 +1081,7 @@ int fsl_rio_setup_rmu(struct rio_mport *mport, struct device_node *node) | |||
1081 | if (!msg_addr) { | 1081 | if (!msg_addr) { |
1082 | pr_err("%s: unable to find 'reg' property of message-unit\n", | 1082 | pr_err("%s: unable to find 'reg' property of message-unit\n", |
1083 | node->full_name); | 1083 | node->full_name); |
1084 | kfree(rmu); | ||
1084 | return -ENOMEM; | 1085 | return -ENOMEM; |
1085 | } | 1086 | } |
1086 | msg_start = of_read_number(msg_addr, aw); | 1087 | msg_start = of_read_number(msg_addr, aw); |