Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1475344
| From | Joe Perches <joe@perches.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] trivial treewide: Convert dev_set_uevent_suppress argument to bool |
| Date | 2016-09-02 18:50 +0200 |
| Message-ID | <scZPb-1TH-19@gated-at.bofh.it> (permalink) |
| References | (1 earlier) <scKQ9-Fd-3@gated-at.bofh.it> <scKZP-Ip-1@gated-at.bofh.it> <scX0Z-67-21@gated-at.bofh.it> <scYT7-1gF-5@gated-at.bofh.it> <scZPb-1TH-21@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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.
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] trivial treewide: Convert dev_set_uevent_suppress argument to bool Joe Perches <joe@perches.com> - 2016-09-01 23:40 +0200
Re: [PATCH] trivial treewide: Convert dev_set_uevent_suppress argument to bool Bart Van Assche <Bart.VanAssche@sandisk.com> - 2016-09-02 02:50 +0200
Re: [PATCH] trivial treewide: Convert dev_set_uevent_suppress argument to bool Joe Perches <joe@perches.com> - 2016-09-02 03:00 +0200
Re: [PATCH] trivial treewide: Convert dev_set_uevent_suppress argument to bool Bart Van Assche <Bart.VanAssche@sandisk.com> - 2016-09-02 15:50 +0200
Re: [PATCH] trivial treewide: Convert dev_set_uevent_suppress argument to bool Joe Perches <joe@perches.com> - 2016-09-02 17:50 +0200
Re: [PATCH] trivial treewide: Convert dev_set_uevent_suppress argument to bool Joe Perches <joe@perches.com> - 2016-09-02 18:50 +0200
csiph-web