Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp718280imm; Fri, 1 Jun 2018 08:22:56 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKuRWkTuDQzWVzAYJ5qEaelAlWQNBxvIihGt2CIRaCZrgkNwsT9bPC60KIsKhGuyoQ/88W4 X-Received: by 2002:a65:5308:: with SMTP id m8-v6mr9530340pgq.42.1527866576390; Fri, 01 Jun 2018 08:22:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527866576; cv=none; d=google.com; s=arc-20160816; b=zfOG1gPRONf6fj3rUBPBK/p047n0ZNeHmES5aIY7p4yV6hEmNbUJfB3yf3aVwowOYD 0Ix6+gxde3vzjxv65dWay05qmoRz6q4BVWbHoa/C6dPvT3Le5y9kpJH/XT3Y5aMH1ibb 8/jBfLtmtw8ChjeoxydgTmU+mOvrv8hQJ0ndpa6U09iUEUooUpPuaPaM/teYac48PS7A q2o5kKQjVQJWj4V+OH1iJAPIdh4tuXNxFICHrQXVXeO4rFcJkz4lSL9mRZw130gvtPGv /s6Zv/CbxlNwWZPe9ztFMo6/im0dRz8G6HsgB5wD2oLGynQ9CqCdaGnGkfIVb5gNDPDD lFQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=LKIaPMVnm2UJYRf15pEwO7R8FNz2weNBUbh8l3vMZgA=; b=FLYQI+mSlfJsAZdsnAItZSrUBWrmPZddPULmpL4zoPaih1XATRWg9lTkseBrpgWFN2 c8cT7HEh0jtiyPhl7DXYdw4OxGURc/yGjFoiuBWEitWimQeeToQhxrT/z4vC18cBe4I9 /lEcM/7Mg3QadIWM+6PoY7Xz4lghGnI0HqYGoHXqMIVxOxpFe0BhQ7ycpyONr5O8zzMz 1CYm16jke9u8VgyBjLubX07W5ZryP1PM+ThW+yJyG75bj2S9RqfXrgwEftoI4symSKn3 4rdZMY+uCG93fWMv46LsULXbw2vxAlCu+Z05E7VtrsiqcIxLP7Zw6GZwSOewI4pHoaAE 3H0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ihmah5w/; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id y3-v6si10959372pgs.434.2018.06.01.08.22.42; Fri, 01 Jun 2018 08:22:56 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ihmah5w/; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1752786AbeFAPVa (ORCPT + 99 others); Fri, 1 Jun 2018 11:21:30 -0400 Received: from mail-wm0-f66.google.com ([74.125.82.66]:50694 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751988AbeFAPV3 (ORCPT ); Fri, 1 Jun 2018 11:21:29 -0400 Received: by mail-wm0-f66.google.com with SMTP id t11-v6so3760108wmt.0 for ; Fri, 01 Jun 2018 08:21:29 -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; bh=LKIaPMVnm2UJYRf15pEwO7R8FNz2weNBUbh8l3vMZgA=; b=ihmah5w/fWfcNRniwYEtbVuNMguh9+Xak6sTExqmkQ+A6aTLptxmmk2LzjkJJIO/UC etcJj93SgQDk5BY2wYjD6f0BDgLeKjl/fA5d6prAzOj/C2KSIB8fuuboLzl8qxbKwR+I 9ry+LUD8cAOx+VYUh1Pzu6GryjmVsrQVivO+c3uofG3TkPDgUO7Mkr6ngmNfm1TzBc4q qh6fTBJG+kD52T8JdORKefyp1v+Z5pOZWg2g+zgXN0s0oH3q8/yNE3KQV6M3rAnERy4L DqNF3DQub/OHt0v4vhg05ghPpkdWAclCbS5K1ifHT32SFS6odaChw7pcNxljccskhfPh mVsA== 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; bh=LKIaPMVnm2UJYRf15pEwO7R8FNz2weNBUbh8l3vMZgA=; b=GkLQJpkt/siLVmJABWDNWIW2q/C3pgUXoK9FNO3d+J0nXVg9YszfKORWYawlsdQ0HK 44f8WZC+lSqb0og0JpoZ7uhswsIBELh40dkuS+9FRkBzBQnmM4FGnac8+e+BOvshyvzr Q7d+EYw/zp7uibg5Eo+LtoT9536WaWULokRVPYYG5pgG0ALRpKJQohUcZfQ1crpQiLhH iaF7Aq9mby8Js2xjJdnFsop5q6XDcZYduJDIP5fG+pF4nz2ufDu618b551kvSbNAUgfu TYy3ePtO0yK/l6lqpJRkrkGNN1w9PIfJSgEWqk2MW6nhP1LvLimQMuC3RjlvQnlrlmPi m22A== X-Gm-Message-State: ALKqPwdChLkLhT5z6m3ppZf866wiUH16EQKHH6T9jxJbNdzdFMvhGNbH +mYkNeyb5sRv2/oDvmgzJN4= X-Received: by 2002:a50:9442:: with SMTP id q2-v6mr13132864eda.70.1527866488463; Fri, 01 Jun 2018 08:21:28 -0700 (PDT) Received: from localhost.localdomain ([2a02:a03f:4023:8a00:1051:9318:8490:3b94]) by smtp.gmail.com with ESMTPSA id j16-v6sm516409edp.22.2018.06.01.08.21.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 01 Jun 2018 08:21:27 -0700 (PDT) From: Luc Van Oostenryck To: Palmer Dabbelt Cc: Albert Ou , linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, Luc Van Oostenryck Subject: [PATCH 0/3] riscv: fix sparse annotations Date: Fri, 1 Jun 2018 17:21:20 +0200 Message-Id: <20180601152123.47256-1-luc.vanoostenryck@gmail.com> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The RISC-V implementation seems to be quite clean regarding sparse annotations. There is anyway three small glitches which are corrected by this series. Note: the 3rd patch may need another solution. Luc Van Oostenryck (3): riscv: use NULL instead of a plain 0 riscv: no __user for probe_kernel_address() riscv: fix __user annotation for __copy_user() arch/riscv/include/asm/cacheflush.h | 2 +- arch/riscv/include/asm/tlbflush.h | 2 +- arch/riscv/include/asm/uaccess.h | 8 ++++---- arch/riscv/kernel/traps.c | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) -- 2.17.1