Skip to content
Commit d0f6ba2e authored by Vincent Duvert's avatar Vincent Duvert Committed by David S. Miller
Browse files

appletalk: Fix atalk_proc_init() return path

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>
parent 69462fe6
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