Re: [PATCH] trivial treewide: Convert dev_set_uevent_suppress argument to bool

From: Joe Perches
Date: Fri Sep 02 2016 - 12:49:41 EST


On Fri, 2016-09-02 at 08:59 -0700, Bart Van Assche wrote:
> How about the following:
>
> dev_set_uevent_suppress() expects a boolean as second argument. Make 
> this clear by passing true/false instead of 1/0 as the second
> argument.

dev_set_uevent_suppress() doesn't currently expect a boolean.

The patch changes the function definition argument from int to bool
and also changes all callers of the function to true/false from 1/0.