PPS build warning

From: john stultz
Date: Tue Feb 01 2011 - 20:31:45 EST


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.

thanks
-john

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