Re: [PATCH 2/2] drm/edid: Have cea_db_offsets() zero start/end when the data block collection isn't found

2019-09-11 Thread Jean Delvare
Hi Ville, On Mon, 2 Sep 2019 16:15:46 +0300, Ville Syrjala wrote: > From: Ville Syrjälä > > Let's make cea_db_offsets() a bit more convenient to use by > setting the start/end offsets to zero whenever the data block > collection isn't present. This makes it safe for the caller > to blindly

Re: [PATCH 2/2] drm/edid: Have cea_db_offsets() zero start/end when the data block collection isn't found

2019-09-11 Thread Jean Delvare
On Tue, 10 Sep 2019 12:48:42 +0300, Ville Syrjälä wrote: > On Tue, Sep 10, 2019 at 11:46:20AM +0200, Jean Delvare wrote: > > Hi Ville, > > > > On Mon, 2 Sep 2019 16:15:46 +0300, Ville Syrjala wrote: > > > From: Ville Syrjälä > > > > > > Let's make cea_db_offsets() a bit more convenient to

Re: [PATCH 2/2] drm/edid: Have cea_db_offsets() zero start/end when the data block collection isn't found

2019-09-10 Thread Ville Syrjälä
On Tue, Sep 10, 2019 at 11:46:20AM +0200, Jean Delvare wrote: > Hi Ville, > > On Mon, 2 Sep 2019 16:15:46 +0300, Ville Syrjala wrote: > > From: Ville Syrjälä > > > > Let's make cea_db_offsets() a bit more convenient to use by > > setting the start/end offsets to zero whenever the data block >

[PATCH 2/2] drm/edid: Have cea_db_offsets() zero start/end when the data block collection isn't found

2019-09-02 Thread Ville Syrjala
From: Ville Syrjälä Let's make cea_db_offsets() a bit more convenient to use by setting the start/end offsets to zero whenever the data block collection isn't present. This makes it safe for the caller to blindly iterate the data blocks even if there are none. Cc: Jean Delvare Signed-off-by: