commit | 650bf52208d804ad5ee449c58102f8dc43175573 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Mon Feb 15 15:57:16 2021 +0000 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Mar 10 09:36:12 2021 +0100 |
tree | 29f36892fc0fc2fbdfdc215659a3d2228b0e7c95 | |
parent | 1edbff9c80ed32071fffa7dbaaea507fdb21ff2d [diff] |
USB: gadget: u_ether: Fix a configfs return code If the string is invalid, this should return -EINVAL instead of 0. Fixes: 73517cf49bd4 ("usb: gadget: add RNDIS configfs options for class/subclass/protocol") Cc: stable <stable@vger.kernel.org> Acked-by: Lorenzo Colitti <lorenzo@google.com> Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Link: https://lore.kernel.org/r/YCqZ3P53yyIg5cn7@mwanda Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>