Searched refs:max_mday (Results 1 – 1 of 1) sorted by relevance
429 int max_mday; in cmos_validate_alarm() local437 max_mday = rtc_month_days(max_date.tm_mon, max_date.tm_year); in cmos_validate_alarm()438 if (max_date.tm_mday > max_mday) in cmos_validate_alarm()439 max_date.tm_mday = max_mday; in cmos_validate_alarm()453 int max_mday; in cmos_validate_alarm() local456 max_mday = rtc_month_days(max_date.tm_mon, max_date.tm_year); in cmos_validate_alarm()457 if (max_date.tm_mday > max_mday) in cmos_validate_alarm()458 max_date.tm_mday = max_mday; in cmos_validate_alarm()