Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1634607pxa; Thu, 6 Aug 2020 12:05:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy4rVRxffj7SeaMtsri3eOs1puDxFT+0MQOSjimlWtJpIYrR1gjKfQBqvMbWhe36vGWKQsG X-Received: by 2002:aa7:cb56:: with SMTP id w22mr5369338edt.96.1596740736746; Thu, 06 Aug 2020 12:05:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596740736; cv=none; d=google.com; s=arc-20160816; b=KDm7HySbB6X9SSDrUlTjO87/6aevF7dynHXc0F5fNVP+dF3j+qY4IqxdmzDHZ2oHkG Zb2p5rJWNdTZ6k4m/cCBdAOJ9bxz3ZA1sZlsqIf+0ck3kuBzZRuKmPUttf44JExxsSjG W9RjEcGDbUcrGJFt2ZNVFZTF0SQ9GZgZYK4tqfggX642WQKGHIOMJcpxxvXSmySUqAOU vCj8S3UnPnrY9dk1HtLds9VkzWxlqhEKpq7uOaFz9iioHhUdSQ6duHz44v+d2i5sq1yS ipwSlbAuV8hIwJl3LfBmtlC3pqlwhDUiRA4LZ1PxTBweh2V6LgL7Ie8GGv7CV1EE0DS+ TYyA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=OAu2FsIdT/Af1bgzbaks/MsaryD2Qq0m1XVOnruTc4Q=; b=aZKyE9L2FAUGjKCjUk0eNA9YdgvnVLexBa5OfWwmGpn27OHbbfIFFbUKQKZwQE+fO0 8TxJEm8pxpUzd1yV3kBB586PwyQ1m2NGSYDAoOBuZi3pLtyg/fkkNhmUVCypCTF6WgCg vwxcgQyG0Fhn4mSX3MH8ELVfPGGq23a3Pv/1huRTMGgiL6RFk9Zqr9DOoECo5e2Mow/g qzqv5sr6CruWP1uS4Ou+/XBlPmnoAC3cyvlilDyUUNwZanzrhlOctGC6SHPGyoLCUTVP 2B2gLvNs7bhxXU1YEhY4oCoTOEMMP7+9gzTB0BZbk0pus9FWXPaz8zXXdK7SFJQ2q8Pm WGeA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=s9FGsIsd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bw25si3912398ejb.10.2020.08.06.12.05.14; Thu, 06 Aug 2020 12:05:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=s9FGsIsd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728858AbgHFTEw (ORCPT + 99 others); Thu, 6 Aug 2020 15:04:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36040 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726942AbgHFTEw (ORCPT ); Thu, 6 Aug 2020 15:04:52 -0400 Received: from mail-ed1-x541.google.com (mail-ed1-x541.google.com [IPv6:2a00:1450:4864:20::541]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F1407C061574 for ; Thu, 6 Aug 2020 12:04:51 -0700 (PDT) Received: by mail-ed1-x541.google.com with SMTP id l23so22209860edv.11 for ; Thu, 06 Aug 2020 12:04:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=OAu2FsIdT/Af1bgzbaks/MsaryD2Qq0m1XVOnruTc4Q=; b=s9FGsIsduvqKTkJ/8xJSIxfu6td51/sCQXrBUcEK6b7KZh45voFJqxOwxaco8tqxuJ LGyFkpMw1gaQfns1E7m7hk1G5TgptBIpXrTo2v8SqH/qxx9R4EvIuoDUkmsBZcY4qoW9 GPc29A5a5El8jN89jD5jcqi1mZH6onO/0OtyJLdCwyMa96Xi1KYOCp0rll8pF98kJEef ZmJKyCTHpT9DLy6rtqH0p1au+h9RTSMkqMasszcnFmCDX6ROd99IRWin00lW45fc3SRA 4/AB6klEVrNE6uvsO4GsHCX4JEXXVLTX1VIT7SItRpzygKt9gowhCAcI2hI2X2yBSGaQ mFvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=OAu2FsIdT/Af1bgzbaks/MsaryD2Qq0m1XVOnruTc4Q=; b=qPuYvF6iX8sFNN5Y99mkblVXDGfHbjXtVcbPERNGaYqZZCPMgvlTeZYRZJiVCsDL3p Vg+3+9mIIaEZDRkNEcwWLEaMJzU9vPMrWveppRsNRr/cZQ+ubBRrcYvuG27slzat5BuB IB6VA0vskPfNWpoDItSq/E4b8RWxPvylfyuamFQlSuDY51eWnUqJHG/iXHSoT9afBZ9C zOd5dsp+Wqm+b5kqJASUQE3QaLLthdIA0jvACPkqCQgaDFcc+Pw3eBg+EMpZDdDgGMiN 8wANAuFmAfqJRs0EFLjWP3WtsJOsCdj2VvnG1xe4dzlFME32cl2utZ2MxQ6oUvDA3x+W 1xlA== X-Gm-Message-State: AOAM5319Y4V+9gTpkQ/hMLGZOrGartofH/3S9uEOr1UnBXrUOV4Kyd78 WkOvAgA7J0IAUCMBv/bBVgg= X-Received: by 2002:a50:f687:: with SMTP id d7mr3210799edn.306.1596740690676; Thu, 06 Aug 2020 12:04:50 -0700 (PDT) Received: from ltop.local ([2a02:a03f:a7fb:e200:d567:ec52:e0a5:f485]) by smtp.gmail.com with ESMTPSA id x1sm4309881ejv.11.2020.08.06.12.04.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Aug 2020 12:04:50 -0700 (PDT) Date: Thu, 6 Aug 2020 21:04:49 +0200 From: Luc Van Oostenryck To: Stafford Horne Cc: LKML , Jonas Bonn , Stefan Kristiansson , openrisc@lists.librecores.org Subject: Re: [PATCH v2 5/6] openrisc: signal: Fix sparse address space warnings Message-ID: <20200806190449.xqflhmbiiv5btusf@ltop.local> References: <20200805210725.310301-1-shorne@gmail.com> <20200805210725.310301-6-shorne@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200805210725.310301-6-shorne@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Aug 06, 2020 at 06:07:24AM +0900, Stafford Horne wrote: > --- > arch/openrisc/kernel/signal.c | 14 +++++++------- > 1 file changed, 7 insertions(+), 7 deletions(-) > > diff --git a/arch/openrisc/kernel/signal.c b/arch/openrisc/kernel/signal.c > index 4f0754874d78..7ce0728412f6 100644 > --- a/arch/openrisc/kernel/signal.c > +++ b/arch/openrisc/kernel/signal.c > @@ -76,7 +76,7 @@ asmlinkage long _sys_rt_sigreturn(struct pt_regs *regs) > * then frame should be dword aligned here. If it's > * not, then the user is trying to mess with us. > */ > - if (((long)frame) & 3) > + if (((__force unsigned long)frame) & 3) > goto badframe; Same as patch 6, the __force is not needed. -- Luc