Re: [Cocci] [PATCH -next] iwlwifi: pcie: Use bitwise instead of arithmetic operator for flags

2020-05-06 Thread Joe Perches
On Wed, 2020-05-06 at 16:51 +0300, Luciano Coelho wrote: > On Tue, 2020-05-05 at 20:19 -0700, Joe Perches wrote: > > On Wed, 2020-05-06 at 11:07 +0800, Samuel Zou wrote: > > > This silences the following coccinelle warning: > > > > > > "WARNING: sum of probable bitmasks, consider |" > > > > I

Re: [Cocci] Exit with non-zero status

2020-05-06 Thread Markus Elfring
> We're only planning to add Coccinelle rules in the future. I am curious how software extensions will evolve further in this area. > If we need more complex post-processing, I imagine that the selection of nicer data structures can occasionally become more interesting. > we'll likely

Re: [Cocci] Exit with non-zero status

2020-05-06 Thread Paul Chaignon
On Tue, May 05, 2020 at 01:08:26PM +0200, Markus Elfring wrote: > > For the record, I enabled Coccinelle in our CI (GitHub Actions) > > yesterday and worked around that issue with the following script: > > > > make -C bpf/ coccicheck | tee /tmp/stdout > > exit $(grep -c "[prefix of warning