Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754186AbbFDXE1 (ORCPT ); Thu, 4 Jun 2015 19:04:27 -0400 Received: from tex.lwn.net ([70.33.254.29]:47206 "EHLO vena.lwn.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752187AbbFDXEY (ORCPT ); Thu, 4 Jun 2015 19:04:24 -0400 Date: Fri, 5 Jun 2015 08:04:18 +0900 From: Jonathan Corbet To: Frans Klaver Cc: linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Richard Cochran Subject: Re: [PATCH v2] Doc: networking: txtimestamp: fix printf format warning Message-ID: <20150605080418.7a97a64e@lwn.net> In-Reply-To: <1433446058-18332-1-git-send-email-fransklaver@gmail.com> References: <1433446058-18332-1-git-send-email-fransklaver@gmail.com> Organization: LWN.net X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.27; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 801 Lines: 20 On Thu, 4 Jun 2015 21:27:38 +0200 Frans Klaver wrote: > Documentation/networking/timestamping/txtimestamp.c: In function ‘__print_timestamp’: > Documentation/networking/timestamping/txtimestamp.c:99:3: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int64_t’ [-Wformat=] > fprintf(stderr, " (%+ld us)", cur_ms - prev_ms); > > int64_t differs per platform, so a type specifier that differs along > with it is required. OK, I've applied this to the docs tree. Thanks, jon -- 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/