Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp2199862ybc; Sun, 24 Nov 2019 15:22:47 -0800 (PST) X-Google-Smtp-Source: APXvYqxN0CaQleOFt8LJ/r4WQ+mvg6lN/7BRFLQxRM5vcqaOcEIPud/n3yJT3s34me6SRTbD5QeG X-Received: by 2002:a17:906:b819:: with SMTP id dv25mr16014963ejb.182.1574637767721; Sun, 24 Nov 2019 15:22:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574637767; cv=none; d=google.com; s=arc-20160816; b=he69Zj+7uH72Oy4lXjS0LuxVShwmKLM4xtfPLtthbE/Xh8CXPRplq1Tj7usiGs4ckf QT4uYVTWFgDNR0/fnbMvAYNYPmXBhwUwOfsW2Dmn57JL9S7xeO8/yCoXhfCxreTYoCCG ZGdubEUiWfDLSY/TvXeMJm7BWSeVewD6DTggowLfuuFcDvLK3x/X5ChLNM827f9CBUcR 9n1x1AbElcW4/eVAk1AdruUCh9a78v/aYwFaC143WBN7gt3eCI+RkTzJPJx5ldAp2MFT DDojM8E48YSGT6RFBEhteCBF6qQqEF7cbua1WKQJinSXctqyfePjJ+RvWwUtXy+D4dAs kfxA== 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 :organization:references:in-reply-to:message-id:subject:cc:to:from :date:dkim-signature; bh=RQBmwWdIIGgnDdpvfkEM//aOqRA5KBb41NFCx63N7s8=; b=NTaQ6R6NRrLVk8ee3JWgd2CwYX3JmPWZBBJL4vXFJdEvibixDC+oB8iWNHRg8Ttj0p pKPU6wEWRECegHyMjLgc1+PMXILPXGiy3j7fI6ZNlpD/wRvufdovhNEpyTJY11G2ElJ6 cS/v/UirwVzxrDkZgR/dyJFH9GQmBcDtA4USYmljZVd409294RF0xDDysVHlwNC0VZd4 VDlzzSjIsvo6lmZEyQon/idIotIIRF8fzEFO7eIh+ZiOH7kZ+gTZatN2+i7Evohz9il1 cxf3mgt2y+61Y6jVEhRFuJ/3OepnIubJbJp4LcBzx6mHKei2uGkjHgpYe++YoMK/Sy2g 7iqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@netronome-com.20150623.gappssmtp.com header.s=20150623 header.b=cicZLyeZ; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id by4si3999301edb.87.2019.11.24.15.22.24; Sun, 24 Nov 2019 15:22:47 -0800 (PST) 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=@netronome-com.20150623.gappssmtp.com header.s=20150623 header.b=cicZLyeZ; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727112AbfKXXSc (ORCPT + 99 others); Sun, 24 Nov 2019 18:18:32 -0500 Received: from mail-pg1-f195.google.com ([209.85.215.195]:44402 "EHLO mail-pg1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727006AbfKXXSc (ORCPT ); Sun, 24 Nov 2019 18:18:32 -0500 Received: by mail-pg1-f195.google.com with SMTP id e6so6083873pgi.11 for ; Sun, 24 Nov 2019 15:18:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netronome-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :organization:mime-version:content-transfer-encoding; bh=RQBmwWdIIGgnDdpvfkEM//aOqRA5KBb41NFCx63N7s8=; b=cicZLyeZUh1ZA/1xCHw1eP8L8XEmzJ90PY5aDtWxQ9Aqq1sgKXjE2fdCuw0qblc/bT s2lB5uAouGCo/8VtARjRZJtl0dqwYHWJyGLT0QwXZSMa8lz3n5Lf4B+WFvtjQI27vyNy tZ9p1kA163MHTM2h5tHLrjZ+ljOjcB51zP75SohuxLtIBmqBjJu5ZiX8cTP1FbgAAfnE hbiFlO8IDdsp3Dw1hlgdGvsDKsnP1QPEmej+oUqkaJDeZ/M7h5qiCAMUy7Yr0Hf6vw6W qVfIMgrqncFIlbL/wrDAD6i35tqvkMrVtAeTodMaRYEuKJlTjBTFurvuAPoiMieM5X7J H3AA== 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:in-reply-to :references:organization:mime-version:content-transfer-encoding; bh=RQBmwWdIIGgnDdpvfkEM//aOqRA5KBb41NFCx63N7s8=; b=NROn0DZPeqLOQuyG6vVvkygHuuFkP67izZUIPr2aTZEP5t6IfIfRKWN9WqkVO1rrjc KUDRHnqyWPX2uPugubE9prvY7lffcSm2JWDb/jJviNF2Npn+aR+o4CwujiWZX/oxDBHs hiEowiJnea8scOG1ehh2t0lVeuEKPTpzePz/CEoHaPafXlQjhPaFDWCYEzKgpP/01YXI fiZ9WCAxlKuCkH6CvB9JG9YSCkLNzzbNcQMxvl5O8rxKQtR5Ol5oXxTKwnQq2cxgKEFi jdjr7H2ufrbbfo+YSTzkULawvOjnhMqUZMv+DYPvrTc6DcLZBlMcOUzbyZFtHtm0iVrS pUGQ== X-Gm-Message-State: APjAAAWLZwSPHErISTjOUyBrKTATLWsNuaAJW8VszmpiNcvikKG5GZ4z N2DSphsrYJYs7U8oYLYvJAhExw== X-Received: by 2002:a62:e308:: with SMTP id g8mr31804436pfh.121.1574637511579; Sun, 24 Nov 2019 15:18:31 -0800 (PST) Received: from cakuba.netronome.com (c-73-202-202-92.hsd1.ca.comcast.net. [73.202.202.92]) by smtp.gmail.com with ESMTPSA id c17sm5559731pfo.42.2019.11.24.15.18.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Nov 2019 15:18:31 -0800 (PST) Date: Sun, 24 Nov 2019 15:18:25 -0800 From: Jakub Kicinski To: Michael Ellerman Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, davem@davemloft.net, edumazet@google.com, sfr@canb.auug.org.au, linuxppc-dev@ozlabs.org Subject: Re: [PATCH v2] powerpc: Add const qual to local_read() parameter Message-ID: <20191124151825.70d15916@cakuba.netronome.com> In-Reply-To: <20191120011451.28168-1-mpe@ellerman.id.au> References: <20191120011451.28168-1-mpe@ellerman.id.au> Organization: Netronome Systems, Ltd. MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 20 Nov 2019 12:14:51 +1100, Michael Ellerman wrote: > From: Eric Dumazet > > A patch in net-next triggered a compile error on powerpc: > > include/linux/u64_stats_sync.h: In function 'u64_stats_read': > include/asm-generic/local64.h:30:37: warning: passing argument 1 of 'local_read' discards 'const' qualifier from pointer target type > > This seems reasonable to relax powerpc local_read() requirements. > > Fixes: 316580b69d0a ("u64_stats: provide u64_stats_t type") > Signed-off-by: Eric Dumazet > Reported-by: kbuild test robot > Acked-by: Michael Ellerman Applied to net-next now, thanks.