Re: [PATCH v3 4/4] staging: sm750fb: deduplicate fbinfo loop in suspend/resume

Ahmet Sezgin Duran <[email protected]> Tue, 7 Jul 2026 14:49:43 +0300
Newsgroups org.kernel.vger.linux-fbdev,dev.linux.lists.linux-staging,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
On 7/7/26 12:09 PM, Greg KH wrote:
> On Mon, May 25, 2026 at 08:58:08AM +0000, Ahmet Sezgin Duran wrote:
>> lynxfb_suspend() and lynxfb_resume() both walk sm750_dev->fbinfo[]
>> via duplicated per-index blocks for fbinfo[0] and fbinfo[1].
>>
>> Replace each pair of blocks with a for-loop bounded by
>> sm750_dev->fb_count, the number of successfully registered
>> framebuffers.
>>
>> No functional changes intended.
> 
> Do you have the hardware to test changes like this?
> 
> 
> thanks,
> 
> greg k-h
No, I don't have the hardware. Just compile tested.

Though, I should mention that compiled object file (sm750.o) is 
identical in my dev machine, sha256sum matches.

Regards,
Ahmet Sezgin Duran