Re: [PATCH] fix RTC-CMOS message, now with SOB

From: David Brownell
Date: Sat Apr 04 2009 - 14:02:21 EST


On Thursday 02 April 2009, Krzysztof Halasa wrote:
> +               !is_valid_irq(rtc_irq) ? "no alarms" :
> +               cmos_rtc.mon_alrm ? "alarms up to one year" :
> +               cmos_rtc.day_alrm ? "alarms up to one month" :
> +               "alarms up to one day",

Could you reformat that so it looks more like the compound-IF
statement it really is? That is, display the nesting structure.
And not use negative logic for that first test.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/