Edward Cree wrote: > On 11/09/2020 23:26, Jakub Kicinski wrote: > > #declare _MCDI_BUF_LEN(_len) DIV_ROUND_UP(_len, 4) > > > > efx_dword_t txbuf[_MCDI_BUF_LEN(MC_CMD_PTP_IN_TRANSMIT_LENMAX)]; > > > > Would that work? > That could work, yes. Though, probably lose the leading underscore > in that case.
Ok, I made a split-out patch for that change in v2, it seems to work once I found a name that didn't collide. Thanks for the useful discussion!