Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp3270900pxa; Sat, 8 Aug 2020 16:07:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw6JFUSIFXrNW0uwcrsX1aHR+bw/4u9g3aMQmksi2kB7FmVwPeMlUfR+/batMAd7zox/xCr X-Received: by 2002:a17:906:eca4:: with SMTP id qh4mr15200745ejb.255.1596928071476; Sat, 08 Aug 2020 16:07:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596928071; cv=none; d=google.com; s=arc-20160816; b=EbgYzzYj8L9bY2ET3B3in2CCeQ5/xsyIljzFShodcM0sCgsoIp204kkZM9HihlqhND iFJaa5PSaN0M+qcIKdxanyIxjQWqb1i6PF83QW+TJRu6TJRe4qzTBjsSylQmU9a1BRgH HHpqZk9gS6z1uUEXm4eIDf2PZicnKH0TSoSRBhhWGJ3NEUAi2h3ea8nhoW3Lu5BY/6Nj wsdomywfdS2vbPMOVjfdIQUntZeQCgyyce9uMR8v1Tj2CUUjE+hHnU1os1yiwoPjfkuY t8RQpbYZLbF75ruArgtrybupp0YGaFqcc3FEm8Ezs+E+H+ylfMxqXgh85o4ED0XNyD8S L6yQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=+NUym8HD4rAkVe/v6ICYggV0BsxvR+hENFSjlluLvaE=; b=lZmWzKNTxOb1U5467genMDIlch9GuID+RBWNcpFnyzYuXBM1+m42Ywu7R6VgkSuSfE ADLx/4QbCyNt3v5ztN4La4xXeYRIkwNbBwlc9KfubUEEDXYhOdJLHwU5Fqe29RI6ZJQJ GUTSr6JKonEUjeTZo+xlh973RTD8Vb4Q7h4NTDpIrtoC/pnLLO8JpacaoNYTF6Ets2Ce cfNL2iz1/BcfYRUawMcHxJvl5PVZYVXfPU7PdO8Lm/C+PyLRrNgjlS03cFjKSokU4jNl dUp8SqBJG+0nWaNBhdTepFmxXw5U/IdZFK1OhChIXrQbNiiwrgCLPnRa3NAw4rnus29x fhOg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=aMe3M8hq; 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 cq22si7729832edb.609.2020.08.08.16.07.28; Sat, 08 Aug 2020 16:07:51 -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=aMe3M8hq; 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 S1726058AbgHHXG5 (ORCPT + 99 others); Sat, 8 Aug 2020 19:06:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34128 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725950AbgHHXG5 (ORCPT ); Sat, 8 Aug 2020 19:06:57 -0400 Received: from mail-pg1-x542.google.com (mail-pg1-x542.google.com [IPv6:2607:f8b0:4864:20::542]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D86F0C061756 for ; Sat, 8 Aug 2020 16:06:56 -0700 (PDT) Received: by mail-pg1-x542.google.com with SMTP id o13so2884280pgf.0 for ; Sat, 08 Aug 2020 16:06:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=+NUym8HD4rAkVe/v6ICYggV0BsxvR+hENFSjlluLvaE=; b=aMe3M8hq1N8mSUWwNNNa+BFs1vz/wV1RLDQ3aKe9dZ8lrmuGinl6xfAIrLq3fOeTkM N3hc8QFBrDaE9dWn6pWlRyvETXwdC3fhaRu2/ZRMAWqsmI5Bxp51/jIMQHk4CziXULNG iMpcZsTC9xPGbT2FfPSknpiztvVPl8ImdyfFVrFYfndNhvZ0COftp3gaFTzT3RIwBwWU vxKkzM6ntX9xp+kCCblvztnqRMerEjPHEWkwq385lhwxDIY/fEOAug5BiyDMEo42du2l CwGKLVjj3Ep2kKJSISgg7NonFFF2F2CLM8VRmTqippaF0oA+tTPSUSOlcgabpLSYnbyO kVGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=+NUym8HD4rAkVe/v6ICYggV0BsxvR+hENFSjlluLvaE=; b=k/+y0RSG1pn4X1dej3ZFu1zBBxwTgImQhPRCAC5z456nLJ1069hEbpzEyqrmsb4rxj lN7uRHH1JBa9+wRSzChgsWR2odDpgkleUWE6ntlGoLa2cg8dtGo7spdEfYBoKVDBfPA+ r9BRCXnuFGr7/pQqLI2ywvMPts8yMB9Pjyt10R0tB9qGQviCl8mVjAitqbfm0z7U1Fe/ 1XGpXanJjkkCo+JsZ2PlhikD2EWIjJltfdP15NDzDOh0Y1kjZB7lywXSzp2twWZOhPUF GvZrl6vcAhQ7DN/F7AyaRR1ODtX2WGt9DNGv5xatmkv7kpyEMkz2NzznMmV2VEuBTHjU 1SDA== X-Gm-Message-State: AOAM530N8mQGSPeM1SMqrUhwYiH/PJk9ZRbnAC7geqnbutSTDrVBuhlW GkLQZGfwnWv5ZUK9OKCo6hamwSHM X-Received: by 2002:a63:31d1:: with SMTP id x200mr16735498pgx.209.1596928015829; Sat, 08 Aug 2020 16:06:55 -0700 (PDT) Received: from localhost (g223.115-65-55.ppp.wakwak.ne.jp. [115.65.55.223]) by smtp.gmail.com with ESMTPSA id t69sm5919679pgd.66.2020.08.08.16.06.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 08 Aug 2020 16:06:55 -0700 (PDT) From: Stafford Horne To: LKML Cc: Luc Van Oostenryck , Stafford Horne Subject: [PATCH v3 0/6] OpenRISC header and sparse warning fixes for 5.9 Date: Sun, 9 Aug 2020 08:06:41 +0900 Message-Id: <20200808230647.833047-1-shorne@gmail.com> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, Changes since v1: - in "io: Fixup defines and move include to the end" added a linux/types.h include as there were compiler failurs pointed out by kbuild. - Remove some __force's suggested by Luc Van Oostenryck This a series of fixes for OpenRISC sparse warnings. The kbuild robots report many issues related to issues with OpenRISC headers having missing or incorrect sparse annotations. Example kdbuild-all report: net/ipv4/ip_sockglue.c:1489:13: sparse: sparse: incorrect type in initializer (different address spaces) https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org/thread/MB6SE7BX425ENFTSIL6KAOB3CVS4WJLH/ Also this includes a few cleanups which I noticed while working on the warning fixups. -Stafford Stafford Horne (6): openrisc: io: Fixup defines and move include to the end openrisc: uaccess: Fix sparse address space warnings openrisc: uaccess: Use static inline function in access_ok openrisc: uaccess: Remove unused macro __addr_ok openrisc: signal: Fix sparse address space warnings openrisc: uaccess: Add user address space check to access_ok arch/openrisc/include/asm/io.h | 9 +++++++-- arch/openrisc/include/asm/uaccess.h | 21 +++++++++++---------- arch/openrisc/kernel/signal.c | 14 +++++++------- 3 files changed, 25 insertions(+), 19 deletions(-) -- 2.26.2