> On 4/09/24 17:52, Avri Altman wrote: > > Panning to ameliorate it in the very near future. > > Panning -> Planning Done. > > > > > Signed-off-by: Avri Altman <avri.altman@xxxxxxx> > > --- > > drivers/mmc/core/mmc_test.c | 7 +++++++ > > 1 file changed, 7 insertions(+) > > > > diff --git a/drivers/mmc/core/mmc_test.c b/drivers/mmc/core/mmc_test.c > > index b7f627a9fdea..a28e1a1aded3 100644 > > --- a/drivers/mmc/core/mmc_test.c > > +++ b/drivers/mmc/core/mmc_test.c > > @@ -3218,6 +3218,13 @@ static int mmc_test_register_dbgfs_file(struct > > mmc_card *card) > > > > mutex_lock(&mmc_test_lock); > > > > + if (mmc_card_ult_capacity(card)) { > > + pr_info("%s: mmc-test currently UNSUPPORTED for SDUC\n", > > + mmc_hostname(card->host)); > > + ret = -EOPNOTSUPP; > > + goto err; > > + } > > Probably simpler to put the check in mmc_test_probe() Done. > > > + > > ret = __mmc_test_register_dbgfs_file(card, "test", S_IWUSR | S_IRUGO, > > &mmc_test_fops_test); > > if (ret)