Re: [PATCH] fbcon: introduce for_each_registered_fb() helper

2018-07-02 Thread Bernd Petrovitsch
a dangling-else. snip #define for_each_registered_fb(i) \ for (i = 0; i < FB_MAX; i++)\ if (!registered_fb[i]) \ continue; \ else snip avoids that. Kind

[patch] drm/nouveau/disp: sizeof() wrong pointer

2013-01-23 Thread Bernd Petrovitsch
n but Sparse warns about "warning: expression using sizeof(void)". gcc's -Wpointer-arith option also reports this. Never tried it on the kernel though ..... Bernd -- Bernd Petrovitsch Email : bernd at petrovitsch.priv.at LUGA : http://www.luga.at

Re: [patch] drm/nouveau/disp: sizeof() wrong pointer

2013-01-23 Thread Bernd Petrovitsch
n but Sparse warns about "warning: expression using sizeof(void)". gcc's -Wpointer-arith option also reports this. Never tried it on the kernel though ..... Bernd -- Bernd Petrovitsch Email : be...@petrovitsch.priv.at