On Thu, Sep 14, 2023 at 06:30:58PM +0800, Jiazi Li wrote: > Commit 41dc9ac163e7 ("usb: gadget: f_fs: Accept up to 30 endpoints.") > increase eps_addrmap length to 31, eps_revmap also need to increase. > Increase it's length to 31. > > For same-address, opposite-direction endpoints, will use same idx in > eps_revmap, use ffs_ep_revmap_index to calculate idx for endpoints. > > Signed-off-by: Jiazi Li <jiazi.li@xxxxxxxxxxxxx> Please see my comments here: https://lore.kernel.org/r/2023100506-veteran-foil-cec0@gregkh for much the same patch, but you picked a different size. thanks, greg k-h