Skip to content
Commit 5a963aa7 authored by Vincent Duvert's avatar Vincent Duvert Committed by Greg Kroah-Hartman
Browse files

appletalk: Fix atalk_proc_init() return path

[ Upstream commit d0f6ba2e ]

Add a missing return statement to atalk_proc_init so it doesn't return
-ENOMEM when successful.  This allows the appletalk module to load
properly.

Fixes: e2bcd8b0

 ("appletalk: use remove_proc_subtree to simplify procfs code")
Link: https://www.downtowndougbrown.com/2020/08/hacking-up-a-fix-for-the-broken-appletalk-kernel-module-in-linux-5-1-and-newer/
Reported-by: default avatarChristopher KOBAYASHI <chris@disavowed.jp>
Reported-by: default avatarDoug Brown <doug@downtowndougbrown.com>
Signed-off-by: default avatarVincent Duvert <vincent.ldev@duvert.net>
[lukas: add missing tags]
Signed-off-by: default avatarLukas Wunner <lukas@wunner.de>
Cc: stable@vger.kernel.org # v5.1+
Cc: Yue Haibing <yuehaibing@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 3787b5a3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment