From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeff Garzik Subject: Re: [PATCH 2/2] sparse, llvm: Fix type of loaded values Date: Tue, 09 Oct 2012 20:13:18 -0400 Message-ID: <5074BD9E.9030002@pobox.com> References: <1349825676-1713-1-git-send-email-j.neuschaefer@gmx.net> <1349825676-1713-2-git-send-email-j.neuschaefer@gmx.net> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Received: from mail-qc0-f174.google.com ([209.85.216.174]:60621 "EHLO mail-qc0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752574Ab2JJANV (ORCPT ); Tue, 9 Oct 2012 20:13:21 -0400 Received: by mail-qc0-f174.google.com with SMTP id d3so4507730qch.19 for ; Tue, 09 Oct 2012 17:13:21 -0700 (PDT) In-Reply-To: <1349825676-1713-2-git-send-email-j.neuschaefer@gmx.net> Sender: linux-sparse-owner@vger.kernel.org List-Id: linux-sparse@vger.kernel.org To: =?UTF-8?B?Sm9uYXRoYW4gTmV1c2Now6RmZXI=?= Cc: linux-sparse@vger.kernel.org, Pekka Enberg , Christopher Li , Jeff Garzik , Linus Torvalds On 10/09/2012 07:34 PM, Jonathan Neusch=C3=A4fer wrote: > Instead of making the computed address a pointer to an int type > large enough to hold a pointer, make it a pointer to the memory > object being loaded. This fixes another LLVM warning. > > Cc: Pekka Enberg > Cc: Christopher Li > Cc: Jeff Garzik > Cc: Linus Torvalds > Signed-off-by: Jonathan Neusch=C3=A4fer > --- > sparse-llvm.c | 2 +- > validation/backend/load-type.c | 12 ++++++++++++ > 2 files changed, 13 insertions(+), 1 deletion(-) > create mode 100644 validation/backend/load-type.c Acked-by: Jeff Garzik -- To unsubscribe from this list: send the line "unsubscribe linux-sparse"= in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html