drm_plane_state *new_state,I think offset should be unsigned, but since src.x1 and src.y1 are
> 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.
'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.