[PATCH 11/17] DRM/KMS/EDID: Avoid failing on krealloc on EDID blocks.

2012-11-19 Thread Egbert Eich
There is no point to call krealloc() to shrink the amount of memory for EDID blocks: the implementation of krealloc() will ignore the size change and return the same chunk of memory anyway. So far we failed reading EDIDs when krealloc() failed. This may happen if the size required to store an EDID

[PATCH 11/17] DRM/KMS/EDID: Avoid failing on krealloc on EDID blocks.

2012-11-19 Thread Egbert Eich
There is no point to call krealloc() to shrink the amount of memory for EDID blocks: the implementation of krealloc() will ignore the size change and return the same chunk of memory anyway. So far we failed reading EDIDs when krealloc() failed. This may happen if the size required to store an EDID