Re: PPS build warning

From: Andrew Morton
Date: Tue Feb 08 2011 - 18:32:04 EST


(cc Alexander)

On Tue, 01 Feb 2011 17:31:33 -0800
john stultz <johnstul@xxxxxxxxxx> wrote:

> Hey Rodolfo,
> Just ran into the following:
>
> drivers/pps/kapi.c: In function 'pps_event':
> drivers/pps/kapi.c:196: warning: 'ts_real.flags' may be used uninitialized in this function
>
> Looks like you don't set the flags value in timespec_to_pps_ktime when
> you initialize the rest of the structure.
>

--
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/