From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933520AbcJQRIq (ORCPT ); Mon, 17 Oct 2016 13:08:46 -0400 Received: from shards.monkeyblade.net ([184.105.139.130]:57954 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932612AbcJQRId (ORCPT ); Mon, 17 Oct 2016 13:08:33 -0400 Date: Mon, 17 Oct 2016 13:08:31 -0400 (EDT) Message-Id: <20161017.130831.445528899814596173.davem@davemloft.net> To: arnd@arndb.de Cc: izumi.taku@jp.fujitsu.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] fjes: fix format string for trace output From: David Miller In-Reply-To: <20161017143314.515133-1-arnd@arndb.de> References: <20161017143314.515133-1-arnd@arndb.de> X-Mailer: Mew version 6.7 on Emacs 24.5 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=iso-8859-7 X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Mon, 17 Oct 2016 10:08:32 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by mail.home.local id u9HH8qMw004459 From: Arnd Bergmann Date: Mon, 17 Oct 2016 16:30:57 +0200 > phys_addr_t may be wider than a pointer and has to be printed > using the special %pap format string, as pointed out by > this new warning. > > arch/x86/include/../../../drivers/net/fjes/fjes_trace.h: In function Ħtrace_raw_output_fjes_hw_start_debug_req˘: > arch/x86/include/../../../drivers/net/fjes/fjes_trace.h:212:563: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] > > Note that this has to pass the address by reference instead of > casting it to a different type. > > Fixes: b6ba737d0b29 ("fjes: ethtool -w and -W support for fjes driver") > Signed-off-by: Arnd Bergmann When a patch is targetting 'net-next' please indicate this in the subject line by saying "[PATCH net-next]" etc. And likewise for 'net'. Applied, thanks.