[PATCH openEuler-5.10 184/202] coresight: tmc-etf: Fix global-out-of-bounds in tmc_update_etf_buffer()