Messages in this thread | | | Subject | Re: [PATCH] checkpatch: don't warn on every struct without const_structs file | From | Joe Perches <> | Date | Tue, 10 Jan 2017 07:01:57 -0800 |
| |
On Tue, 2017-01-10 at 15:03 +0100, Johannes Berg wrote: > From: Johannes Berg <johannes.berg@intel.com> > > The script says that it won't warn: > "No structs that should be const will be found [...]" > > but then that doesn't work and it warns on every single struct > instead, since the regular expression ends up empty. Fix that > by checking that it's not empty first.
nak.
How does const_structs end up empty for you?
| |