Received: by 2002:ac0:da4c:0:0:0:0:0 with SMTP id a12csp737672imi; Thu, 21 Jul 2022 09:58:02 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vKW+eG1kS+rGmzpSOcdzXL1Xn4ClE5YaQ+OGBI80fSz1lRcebOhrwVaq3sAO5M+oluUXj3 X-Received: by 2002:a17:90b:1b0d:b0:1f0:50bd:885 with SMTP id nu13-20020a17090b1b0d00b001f050bd0885mr12557642pjb.234.1658422682121; Thu, 21 Jul 2022 09:58:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658422682; cv=none; d=google.com; s=arc-20160816; b=0RCCsLE/JzP9iv/KLwBURSgxR9pI4NceqlADABC2e9MbxPo4N74Xj5TEYYoM4pJSSv TOFtCMUv8KR4JrNI8r8AxsO7fo9Duv6dh2oKuMzcNkEG4+fUWe40UaA6bPD0Shudn8e/ 1eSgZEMZGg7hUixkBLAFmDL8+yueYph7hFhSXbkjfTIl+xo9f0Bla9dKUfgkkp2SfPHC 9NVzjQMEerj6Gu+VKnY4nh7+oyzxSi8NcLcdX2122UJSE1y2B+/qi+8TkyY4sfXzfIHS z00b4MwQxk7JmeCdv//OgQ76OAMnnvpyXpoVR01vDBVX1/1m13kwYlFxhYB2/ar9Cp6v vDZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=SikF4WEbroC+ee0jskL7hu5VA64LXeJBDP12R/A1emU=; b=xLaG7B8peO/TfP8vaFQ+LXGxams7hJj+CejRC8j5pIUezorRmFYsqIdUKp0903ttt6 uH7dNDszEDzrT+IbSx3Ht1ueqhP1yesrSIwen8g2L+kc05XMFaIOITg3n/4BAWqvTc0B nQxDcRzKp0WZlF1/d2e0FnX967AQ4TeczvvNu3/Pni2r29CAWkOpTR9RT6j8CkXjJcYZ 8GsTf82vBhRnB6DCygdvKUQQRLtaOlHuJ12yx+oY1Edanf2m37X/uRTX5jJe18u8dD+N qMvHispxLz/XF0QJUDHKXClMzmkRdaZOB5ZDaR8KLZsXtBplAm1FmATmBjLpI0MNayaY CC5A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chrisdown.name header.s=google header.b=Iy36JBH8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chrisdown.name Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x1-20020a170902820100b0016bf6ad103asi2448297pln.374.2022.07.21.09.57.46; Thu, 21 Jul 2022 09:58:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@chrisdown.name header.s=google header.b=Iy36JBH8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chrisdown.name Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232348AbiGUQaE (ORCPT + 99 others); Thu, 21 Jul 2022 12:30:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34034 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229576AbiGUQaC (ORCPT ); Thu, 21 Jul 2022 12:30:02 -0400 Received: from mail-ej1-x633.google.com (mail-ej1-x633.google.com [IPv6:2a00:1450:4864:20::633]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BAA5789649 for ; Thu, 21 Jul 2022 09:30:01 -0700 (PDT) Received: by mail-ej1-x633.google.com with SMTP id l23so4086864ejr.5 for ; Thu, 21 Jul 2022 09:30:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chrisdown.name; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=SikF4WEbroC+ee0jskL7hu5VA64LXeJBDP12R/A1emU=; b=Iy36JBH8NSYyPJDbnm7nYcUD+fzlk85sRYqRwBUl1k2RyS0t1FB/CT3xLh5M7006rr UsQz2z3CwUUvXyAs4X5N0tmUfhjn5pi27JVFWpTikKmIT3eO1DVCUAzOmyjoMpo2XYbU zF/0Jvkt8mk322XdAi8/ZbQA1KjT5C/FXLB28= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=SikF4WEbroC+ee0jskL7hu5VA64LXeJBDP12R/A1emU=; b=fPZiPQEVDVGhMglJ5+jDKrry1z0NfirCelEvLFTq+lvVRfY21tteiK26NPmnfo8W3K 0GHqskW89yC/j6qEH7s05i9LwVj3WWaGJ2kY1fR4LoNkvLGDqoprllG8pOWPNIICWOmt uvYF4FUUkOC8I0WTd/J+7g0kl19ZODyyNGTwTsdrfLFvB0k1IyCtQ8BpI3FIsUUHhsCL nLfA4Sau9U4Qa5wOC4UB7E9KtikmrsOX1CrBUNuvI8joKCG6Oh6bYICn/Vl4o4FxvdJo vHG/K6dPUj3cP5ZE2NIPe8hEir1ElUNyrUY3eEBMJoD/mfEbuVbbOLUyVyPBUJWiRz/p bbhg== X-Gm-Message-State: AJIora+h1iulRAJxeO2DqKZu97f5uOIrWpJ2doUYqBMB/mK/Vra7yrEo iLN/0mELU7kEbrr3vYxtKcu14A== X-Received: by 2002:a17:907:7349:b0:72d:a080:f8b0 with SMTP id dq9-20020a170907734900b0072da080f8b0mr38030738ejc.389.1658421000070; Thu, 21 Jul 2022 09:30:00 -0700 (PDT) Received: from localhost ([2620:10d:c092:400::5:bf07]) by smtp.gmail.com with ESMTPSA id d18-20020a056402079200b0043a253973aasm1245386edy.10.2022.07.21.09.29.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Jul 2022 09:29:59 -0700 (PDT) Date: Thu, 21 Jul 2022 17:29:59 +0100 From: Chris Down To: kernel test robot Cc: linux-kernel@vger.kernel.org, kbuild-all@lists.01.org, Petr Mladek , Greg Kroah-Hartman , Sergey Senozhatsky , Steven Rostedt , John Ogness , Geert Uytterhoeven , kernel-team@fb.com Subject: Re: [PATCH v3 2/2] printk: console: Support console-specific loglevels Message-ID: References: <202207220029.VYxE2uAL-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <202207220029.VYxE2uAL-lkp@intel.com> User-Agent: Mutt/2.2.6 (2022-06-05) X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org kernel test robot writes: >sparse warnings: (new ones prefixed by >>) >>> kernel/printk/sysctl.c:31:47: sparse: sparse: incorrect type in argument 3 (different address spaces) @@ expected void * @@ got void [noderef] __user *buffer @@ > kernel/printk/sysctl.c:31:47: sparse: expected void * > kernel/printk/sysctl.c:31:47: sparse: got void [noderef] __user *buffer Ah, since commit 32927393dc1c ("sysctl: pass kernel pointers to ->proc_handler") we copy to kernelspace before passing to the callback, so it's not a userspace pointer. That's certainly an improvement. Will fix for v4.