lkml.org 
[lkml]   [2018]   [Jun]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH v3 3/3] console/fbcon: Add support for deferred console takeover
On Tue, Jun 26, 2018 at 8:12 PM, Andy Shevchenko
<andy.shevchenko@gmail.com> wrote:
> On Tue, Jun 26, 2018 at 4:55 PM, Hans de Goede <hdegoede@redhat.com> wrote:

>> + for (i = 0; i < FB_MAX; i++) {
>> + if (registered_fb[i])
>> + fbcon_fb_registered(registered_fb[i]);
>> + }
>
> Simple git grep shows that we perhaps do
>
> #define for_each_registered_fbcon(i) ...

(Or just ..._fb() since it looks like iteration over framebuffers, not
exactly consoles)

>
> (As an example see for_each_pci_bridge() how it's done there)



--
With Best Regards,
Andy Shevchenko

\
 
 \ /
  Last update: 2018-06-26 19:15    [W:0.075 / U:0.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site