# Re: \[PATCH 3/5\] OMAPDSS: DISPC: Fix assignment of 0/1 to bool variables

- From: Tomi Valkeinen \<hidden\>
- Date: 2013-09-23 07:37:59 
- List: linux-fbdev
- Page: https://ratatoskr.run/linux-fbdev/2013/09/4120563
- Thread: https://ratatoskr.run/linux-omap/2013/09/4120358/t.md

```text
Hi,

On 22/09/13 21:44, Peter Senna Tschudin wrote:
> Convert 0 to false and 1 to true when assigning values to bool
> variables. Inspired by commit 3db1cd5c05f35fb43eb134df6f321de4e63141f2.
> 
> The simplified semantic patch that find this problem is as
> follows (http://coccinelle.lip6.fr/):

Thanks, applied for 3.13. Although "fix" and "problem" are perhaps a bit
too strong words, as this is just a cosmetic change =).

 Tomi


```

## Attachments

- [signature.asc](https://ratatoskr.run/linux-fbdev/2013/09/4120563/attachment/0) (application/pgp-signature, 901 bytes)
