On Thu, 2015-11-12 at 08:59 +0100, Johannes Berg wrote:
> On Wed, 2015-11-11 at 23:15 +0100, Johannes Berg wrote:
> >
> > +static unsigned long long count_or_symbols(struct expr *e)
> > +{
> > + switch (e->type) {
> > + case E_SYMBOL:
> > + return 1;
>
> Oh, this is obviously bogus
On Wed, 2015-11-11 at 23:15 +0100, Johannes Berg wrote:
>
> +static unsigned long long count_or_symbols(struct expr *e)
> +{
> + switch (e->type) {
> + case E_SYMBOL:
> + return 1;
Oh, this is obviously bogus - I need to count the *enabled* symbols.
johannes
--
To unsubscribe
From: Johannes Berg
"count" works similar to "select"; take, for example, this snippet:
config MY_COUNTER
int
config MY_DRIVER_1
bool "my driver 1"
count MY_COUNTER
config MY_DRIVER_2
bool "my driver 2"
count MY_COUNTER
T