Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751492AbZKLGqB (ORCPT ); Thu, 12 Nov 2009 01:46:01 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750990AbZKLGqA (ORCPT ); Thu, 12 Nov 2009 01:46:00 -0500 Received: from chilli.pcug.org.au ([203.10.76.44]:45742 "EHLO smtps.tip.net.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750894AbZKLGp7 (ORCPT ); Thu, 12 Nov 2009 01:45:59 -0500 Date: Thu, 12 Nov 2009 17:45:58 +1100 From: Stephen Rothwell To: Tejun Heo , Rusty Russell , Christoph Lameter , Ingo Molnar Cc: linux-next@vger.kernel.org, linux-kernel@vger.kernel.org Subject: linux-next: percpu tree build warning Message-Id: <20091112174558.128cea97.sfr@canb.auug.org.au> X-Mailer: Sylpheed 2.7.1 (GTK+ 2.18.3; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="PGP-SHA1"; boundary="Signature=_Thu__12_Nov_2009_17_45_58_+1100_E_s=WeGidihPSJTw" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1331 Lines: 42 --Signature=_Thu__12_Nov_2009_17_45_58_+1100_E_s=WeGidihPSJTw Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi all, Today's linux-next build (powerpc ppc64_defconfig) produced this warning: drivers/net/loopback.c: In function 'loopback_get_stats': drivers/net/loopback.c:109: warning: initialization discards qualifiers fro= m pointer target type The line in question is: lb_stats =3D per_cpu_ptr(pcpu_lstats, i); Where "lb_stats" and "pcpu_lstats" are both "const struct pcpu_lstats *". I guess this is because of __verify_pcpu_ptr(). --=20 Cheers, Stephen Rothwell sfr@canb.auug.org.au http://www.canb.auug.org.au/~sfr/ --Signature=_Thu__12_Nov_2009_17_45_58_+1100_E_s=WeGidihPSJTw Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAkr7ryYACgkQjjKRsyhoI8yaeACfQWv7Gd0vjM+1nOKdt8ljbros py4An0OvPDgXgfRwlPGv2xNwFyroRMk1 =cHkk -----END PGP SIGNATURE----- --Signature=_Thu__12_Nov_2009_17_45_58_+1100_E_s=WeGidihPSJTw-- -- 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/