On Wed, Jun 19, 2024 at 02:56:18PM +0800, Li Feng wrote: > + sd_config_discard(sdkp, &lim, sd_discard_mode(sdkp)); > > sd_print_capacity(sdkp, old_capacity); > > > If it's OK, I'll submit v2. Except for the whitespace damage in the moved call this looks good to me.