Hi, On Thu, Jan 20, 2022 at 10:44 PM Youghandhar Chintala <quic_youghand@xxxxxxxxxxx> wrote: > > - htc->total_transmit_credits = __le16_to_cpu(msg->ready.credit_count); > + if (ar->hw_params.tx_credit_limit) > + htc->total_transmit_credits = > + __le16_to_cpu(HTC_HOST_MAX_CREDIT_COUNT); > + else > + htc->total_transmit_credits = > + __le16_to_cpu(msg->ready.credit_count); Apparently 0-day had a bit of a problem with the syntax above. See <https://crrev.com/c/3435607>. Basically you don't need the __le16_to_cpu() around the constant HTC_HOST_MAX_CREDIT_COUNT. -Doug