On 22/06/2023 10:02, Jason-JH Lin (林睿祥) wrote:
drm_plane_state *new_state, > dma_addr_t addr; > dma_addr_t hdr_addr = 0; > unsigned int hdr_pitch = 0; > +int offset; I agree with Angelo, please set offset as unsigned.I think offset should be unsigned, but since src.x1 and src.y1 are 'int'. That means 'unsigned int' offset will be very big when src.x1 or src.y1 is negative. So I just use 'int' for offset here.
Ok Reviewed-by: Alexandre Mergnat <amergnat@xxxxxxxxxxxx> -- Regards, Alexandre