This is a note to let you know that I've just added the patch titled mmc: vub300: fix an error code to the 6.1-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: mmc-vub300-fix-an-error-code.patch and it can be found in the queue-6.1 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let <stable@xxxxxxxxxxxxxxx> know about it. >From b44f9da81783fda72632ef9b0d05ea3f3ca447a5 Mon Sep 17 00:00:00 2001 From: Dan Carpenter <dan.carpenter@xxxxxxxxxx> Date: Thu, 2 Nov 2023 10:51:06 +0300 Subject: mmc: vub300: fix an error code From: Dan Carpenter <dan.carpenter@xxxxxxxxxx> commit b44f9da81783fda72632ef9b0d05ea3f3ca447a5 upstream. This error path should return -EINVAL instead of success. Fixes: 88095e7b473a ("mmc: Add new VUB300 USB-to-SD/SDIO/MMC driver") Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx> Cc: stable@xxxxxxxxxxxxxxx Link: https://lore.kernel.org/r/0769d30c-ad80-421b-bf5d-7d6f5d85604e@moroto.mountain Signed-off-by: Ulf Hansson <ulf.hansson@xxxxxxxxxx> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> --- drivers/mmc/host/vub300.c | 1 + 1 file changed, 1 insertion(+) --- a/drivers/mmc/host/vub300.c +++ b/drivers/mmc/host/vub300.c @@ -2311,6 +2311,7 @@ static int vub300_probe(struct usb_inter vub300->read_only = (0x0010 & vub300->system_port_status.port_flags) ? 1 : 0; } else { + retval = -EINVAL; goto error5; } usb_set_intfdata(interface, vub300); Patches currently in stable-queue which might be from dan.carpenter@xxxxxxxxxx are queue-6.1/vhost-vdpa-fix-use-after-free-in-vhost_vdpa_probe.patch queue-6.1/mmc-vub300-fix-an-error-code.patch queue-6.1/netfilter-nf_tables-fix-pointer-math-issue-in-nft_by.patch queue-6.1/sunrpc-add-an-is_err-check-back-to-where-it-was.patch queue-6.1/pwm-fix-double-shift-bug.patch