lkml.org 
[lkml]   [2008]   [Oct]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 1/2] rtc: Fix handling of missing tm_year data when reading alarms
    On Mon, 27 Oct 2008 15:38:24 +0000
    Mark Brown <broonie@opensource.wolfsonmicro.com> wrote:

    > When fixing up invalid years rtc_read_alarm() is callign rtc_valid_tm()
    > as a boolean but rtc_valid_tm() returns zero on success or a negative
    > number if the time is not valid so the test is inverted.
    >
    > Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>

    Acked-by: Alessandro Zummo <a.zummo@towertech.it>

    --

    Best regards,

    Alessandro Zummo,
    Tower Technologies - Torino, Italy

    http://www.towertech.it



    \
     
     \ /
      Last update: 2008-10-27 17:55    [W:0.021 / U:89.296 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site