On Mon, Dec 06, 2021 at 01:38:16PM +0000, Pei, Andy wrote: > Reply in line > > > > + } else { > > + struct vring_list *p_sg = &sg[1]; > > Not needed, you can just use sg[1].addr > Andy: I used to think sg[1]. Length, but I am not sure. Could you please > tell me why sg[1]. Length is not needed ?
length too of course, but you can likewise use sg[1].length and there is no need to create that p_sg pointer. take care, Gerd _______________________________________________ SeaBIOS mailing list -- seabios@seabios.org To unsubscribe send an email to seabios-le...@seabios.org