Messages in this thread | | | Subject | Re: [PATCH] rt2x00: no need to check return value of debugfs_create functions | From | Kalle Valo <> | Date | Fri, 1 Feb 2019 12:39:13 +0000 (UTC) |
| |
Greg Kroah-Hartman <gregkh@linuxfoundation.org> wrote:
> When calling debugfs functions, there is no need to ever check the > return value. The function can work or not, but the code logic should > never do something different based on this. > > Cc: Stanislaw Gruszka <sgruszka@redhat.com> > Cc: Helmut Schaa <helmut.schaa@googlemail.com> > Cc: Kalle Valo <kvalo@codeaurora.org> > Cc: linux-wireless@vger.kernel.org > Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> > Acked-by: Stanislaw Gruszka <sgruszka@redhat.com>
Patch applied to wireless-drivers-next.git, thanks.
2587791d5758 rt2x00: no need to check return value of debugfs_create functions
-- https://patchwork.kernel.org/patch/10775749/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
| |