Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1211570pxb; Wed, 4 Nov 2020 03:03:08 -0800 (PST) X-Google-Smtp-Source: ABdhPJwSDU2K1EZBWFhgGpu3pP0lRS/l6qeo2rkI8uAsdMf4kvuWDT1+tTs0wgwO4fVOLQHwAmK6 X-Received: by 2002:a17:906:86c7:: with SMTP id j7mr23691423ejy.301.1604487788255; Wed, 04 Nov 2020 03:03:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604487788; cv=none; d=google.com; s=arc-20160816; b=XxuJq3SgtW9ZCXaw/5JExp+z2Z04Ngl+yFiETFLCp2xS95U69/DcRmgqF89ZZ1zxZm noDDEy4alUzUr8sTEYR8qPivB6Yrx9VyviYLX+Ag52f0mOQVUPF9NMGYcU4/8BzDnnTe pdSNEC4DKTT0Sr/xW7cC4p+W37rHT99W7+oKtfa5J25gWfrSYHPGnqS71myLu/RI8mPA vn/OdU6nuweA9sxbD8RQgg512Hpf18G8HngiUKsgVh4YG+Lcz8ePu2OO89aCoFhtLmsB voFnCzp0hoVVgyuE6kZK9BQvMgHvlxSG9R0vefsbgsqkVW3QnV8qqNcZ4oHZ9+vwYW+8 UVAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=7Xzh03thSu71cPFyVHXh51rZbQa5FJ10M7IZ8JTMsUw=; b=C0Y6wfxj4luVWLEEzxmRVl7Mr0Zwo7wmI5L1UAaBP0g9Sk1rSX6b1/IgTmsr9L8Mbr osa7VKmALGuIkb1gFcX/E8HYYNl7HKMtkh89Y9Bo8rbJ8TKj95Qz7zlHBgEZ1HbM9n5S 4ZPei8bvRai7JJ2dvZB/A2aaUoP707Zba8WsMZtsPVnbjoIaXdgltNXGnOWQsBYHyYOf Me5xLYd0AmmnMqPaK3CRZtzlpiKgCAKyyqBhDtCZHJ0Sn7fdU1ha4OtQM2n1Y+BDhqtB CFUeJTFn+IXdg8RvTJQ1SYg7j8oOXzur+ZV2OlsE2zfRq2Ydip//WklNkhDs7gLzWYeg 1u6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="R/dyvIo4"; 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=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e3si1178634eja.411.2020.11.04.03.02.43; Wed, 04 Nov 2020 03:03:08 -0800 (PST) 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=@linaro.org header.s=google header.b="R/dyvIo4"; 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=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729633AbgKDK7G (ORCPT + 99 others); Wed, 4 Nov 2020 05:59:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40292 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726344AbgKDK7G (ORCPT ); Wed, 4 Nov 2020 05:59:06 -0500 Received: from mail-wr1-x442.google.com (mail-wr1-x442.google.com [IPv6:2a00:1450:4864:20::442]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 186DFC0613D3 for ; Wed, 4 Nov 2020 02:59:06 -0800 (PST) Received: by mail-wr1-x442.google.com with SMTP id c17so2183964wrc.11 for ; Wed, 04 Nov 2020 02:59:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=7Xzh03thSu71cPFyVHXh51rZbQa5FJ10M7IZ8JTMsUw=; b=R/dyvIo44grXXEUtlCA7suDvXalQSfBaaoDuQ7akPe/9woqizk5nVvsySV4bAU5fZQ VFvX5VSq31Bw5PvBunLUDKCP9S9y02RoPPzgsZ88EnxmfjBdT6c+650tmFVD+dNhQYsF xqdM7M1jrM8u8mgyAnGJCmiKgM5WlyXREDfB90y5GpBrwi9l/iS5UmRWsCeVXoHCytY4 LmpEasaHRim54tfFnfqGRQPfKf3h4puCqw5NNuKep3PrhtmKSd1CZ5YufAnhMAo8/8KR RVmF4NtS4BeF85CO2RUulJWU6NGSYErtHnu3jhfr3sHUu/V0yFTrgnoYBvIKcgcXVRd2 j2ig== 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:content-transfer-encoding :in-reply-to; bh=7Xzh03thSu71cPFyVHXh51rZbQa5FJ10M7IZ8JTMsUw=; b=TpugzIl4SOtf3gS8Vw8wxJKK8AzWyjmLOri/pwYvWbSMjuq18j8WCmu6J55h6HBhaT OiNC6pj7Gi5KaYxsIPtsx71HfqyM7jF+mlWm+Qx6CE16lMlOQ3IxKSVLpKWXNlwVxgVv xL7gaLq2ni1Bp0BecpXOIjef0JUwkixDe+fxgM7EnscQXXgYKRhigCUpzCIB4ZW7MaGF mYa7U6j3xhKnel8tqgNupm4C2fJoA1SvP69AKzwJVBt6lL9RUiZQUtJoEr6Whra3PTXt m9boZ5pqqGp4QUwB80XXjZgd+CbOOIkTy1///cR8WGOiPguNAOlH99wXpK458dGyuk+7 m/+A== X-Gm-Message-State: AOAM530AXWACDIJvRIDrCweMGauuDEfyXETrvun+x7zZEyaY7X9ysK5/ eisFtK+rvg+4n/iwRIUmQPmIZbLUl90mOH0A X-Received: by 2002:a05:6000:1084:: with SMTP id y4mr29929410wrw.138.1604487544891; Wed, 04 Nov 2020 02:59:04 -0800 (PST) Received: from dell ([91.110.221.242]) by smtp.gmail.com with ESMTPSA id u5sm1647438wml.13.2020.11.04.02.59.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Nov 2020 02:59:04 -0800 (PST) Date: Wed, 4 Nov 2020 10:59:02 +0000 From: Lee Jones To: Rikard Falkeborn Cc: linux-kernel@vger.kernel.org, Maxime Ripard , Chen-Yu Tsai , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH 7/8] mfd: sun4i-gpadc: Constify static struct resource Message-ID: <20201104105902.GY4488@dell> References: <20200922192659.14535-1-rikard.falkeborn@gmail.com> <20200922192659.14535-8-rikard.falkeborn@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200922192659.14535-8-rikard.falkeborn@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 22 Sep 2020, Rikard Falkeborn wrote: > Constify adc_resources[]. The only usage is to assign its address to the > resources field of the mfd_cell struct. This allows the compiler to put > it in read-only memory. Done with the help of Coccinelle. > > Signed-off-by: Rikard Falkeborn > --- > drivers/mfd/sun4i-gpadc.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied, thanks. -- Lee Jones [李琼斯] Senior Technical Lead - Developer Services Linaro.org │ Open source software for Arm SoCs Follow Linaro: Facebook | Twitter | Blog