# Re: \[PATCH v3 2/2\] fbdev/core: Disable console-lock warnings when fb.lockless\_register\_fb is set

- From: Petr Mladek \<pmladek@suse.com\>
- Date: 2018-07-20 09:10:54 
- List: linux-fbdev
- Page: https://ratatoskr.run/linux-fbdev/2018/07/9142516
- Thread: https://ratatoskr.run/linux-fbdev/2018/07/9142382/t.md

```text
On Thu 2018-07-19 12:16:01, Thomas Zimmermann wrote:
> If the console is unlocked during registration, the console subsystem
> generates significant amounts of warnings, which obfuscate actual
> debugging messages. Setting ignore_console_lock_warning while debugging
> console registration avoid the noise.
> 
> v3:
> 	- manipulate ignore_console_lock_warning with atomic_{inc,dec}
> v2:
> 	- restore ignore_console_lock_warning if lock_fb_info() fails
> 
> Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>

Reviewed-by: Petr Mladek <pmladek@suse.com>

I have vacation the following two weeks. Note that I am fine with
v2 if anyone see the atomic as an overkill.

Best Regards,
Petr
```
