Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751808Ab1BBBbl (ORCPT ); Tue, 1 Feb 2011 20:31:41 -0500 Received: from e39.co.us.ibm.com ([32.97.110.160]:41831 "EHLO e39.co.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751553Ab1BBBbk (ORCPT ); Tue, 1 Feb 2011 20:31:40 -0500 Subject: PPS build warning From: john stultz To: Rodolfo Giometti Cc: lkml Content-Type: text/plain; charset="UTF-8" Date: Tue, 01 Feb 2011 17:31:33 -0800 Message-ID: <1296610293.3336.142.camel@work-vm> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 563 Lines: 17 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/