Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp4253165pxk; Tue, 22 Sep 2020 14:35:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzbJNIY9LT+jNPwhBd78GE3q5kg9O9UXqR/c09yIHEfRLC/Y7/uwTOWNSS9Ixi0OUKd/Lwn X-Received: by 2002:a17:906:4c81:: with SMTP id q1mr6951741eju.72.1600810530683; Tue, 22 Sep 2020 14:35:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600810530; cv=none; d=google.com; s=arc-20160816; b=KDvxl+nXpPgjUH1mf0vL/zJYr3zrKaKi0vbK5BjJUgkjW/zEdI0P9pdoWqH5U/eG9R yziprbNMxVSnl348yN1XH8dnYTcQe0+Na6Uexk0PHXxTyu7awd2SJfdiMy4LTuFlrKVh zDR9Cjx2bbZrVRIeSjV599Szk1nA4bZunKQYedImLCg9GihlWz+ztwxLeO42ABJAvE1o pftG6K4QCgTrfLwkClC2TWlE8ZJc7t2Iq5IpBZi8jV8W/5DfnhIo5LT+klf+jX1DD0JT cnB+ZjME8/j/VwiiI4gknNbpe1qNfhRThgPyt4Q4M5JabOdoOZR6M4jDgJgGWt4Bmlxw X8Bw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=qHNrmMIOnOH4W4z3cRVv4aMVAMUCUf7Yh+iyJNJWMwo=; b=LYxMcOWz5lDZDatGwfd5s/QM+K9YdK96X4WO/i959v+jHmPv0G2LUVjf1ndl39jklX FfAFEYl5tkMGbl8oBq1SXDbDwNugNqhC2AEILXez7kXtnVsek+3F3N3Uc00HzopIxAgh zSFbgfE2s0SQW9TCmr3JpAI9TfM/JEEP9MdaoCjuR0zedpfKYpk7si/rQRAPhiTXkB+L RLlkm5BlmCR0EZ1o7jDtUdY5eMAPy0gIrRAHY6fQDdO3KGKNB+7TMJira7w6Tdp3ZkVv vx37RaUPEM2UrL22B6ucXLlzJFwkHgzkxnOqVQgncz846iZNKvmPcqjAlbsKeEEa20VS OlZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=DtaDnTrK; 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 nr20si11554894ejb.483.2020.09.22.14.35.06; Tue, 22 Sep 2020 14:35:30 -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=DtaDnTrK; 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 S1726721AbgIVVbp (ORCPT + 99 others); Tue, 22 Sep 2020 17:31:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46240 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726179AbgIVVbp (ORCPT ); Tue, 22 Sep 2020 17:31:45 -0400 Received: from mail-pj1-x1041.google.com (mail-pj1-x1041.google.com [IPv6:2607:f8b0:4864:20::1041]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6A8C0C061755 for ; Tue, 22 Sep 2020 14:31:45 -0700 (PDT) Received: by mail-pj1-x1041.google.com with SMTP id mm21so2099241pjb.4 for ; Tue, 22 Sep 2020 14:31:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=qHNrmMIOnOH4W4z3cRVv4aMVAMUCUf7Yh+iyJNJWMwo=; b=DtaDnTrKbmbRHgVTy67yui0nXY2+8KZRWq51I4xO/PrE2kx7/yZjEfYff62PXvONj4 Ff6B+k3tglJNHl5qLa9tCFtnoQYq39mtNVwjzwL01nhHjWsYDX5Ezc3boVkkMNEVlqet t6fmQXPZen/Hu8V82NYrfhLvTRMdTMikCfaRJACjZ0eFmt0AuxGrQJ67LtNXiRxV4+hF NGZrBy4Cl2AoDMwrlSs31GW9DeQvWhzfyuGYCsyUjG+4Ooi0TRzf85NeOv1/gXQYVeEo pA9chUijiDu3Q4nwIwBgoLBeYffYULJU4/9htVkLEw2qe5cNFCGUqrPBroGHNdd/ST1i 8cgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=qHNrmMIOnOH4W4z3cRVv4aMVAMUCUf7Yh+iyJNJWMwo=; b=adbg36fbq5fLycAKlGNqg9qlXW0OSb7hBi2dqazZ+xd9o/pDe2qV+kH355Vh/d06qd IEsuuQycZRsTg8up3gw37NJ9otRzQobgfrtP//bVK+m4MIlb3Aeo40c7TXnMW+Dtw+KU cYoB2fSq1DkjxRPAHVGMAJkFHue2HeFYxBdljEgaOxuH+yzXzr6tUqyrJcv3gqjLs5kI HyLRCbJCi7XM7sPmco44pKLYhelB6cLbguyoYRP37GwSF3tZkUvgFkal8YVvLBr+GWPH Nc5VVKHPJVadG2c9M3HxLAESQ/+NZze+45FjQ6wElxeJ0rNKqYITVVkQ7egHq7dIpjE0 MGOw== X-Gm-Message-State: AOAM531m0y6uQ2GlS1lQHWeUuoLTC/E55ZJsdt5D72Odon0o/+3uN8zR y8Y6lu2xpmW2Zcnq8cF6S2HoZnwkQ0Qtmovr4b/RrnhyvMU4fA== X-Received: by 2002:a17:90a:fd98:: with SMTP id cx24mr5224777pjb.181.1600810304987; Tue, 22 Sep 2020 14:31:44 -0700 (PDT) MIME-Version: 1.0 References: <20200922192659.14535-1-rikard.falkeborn@gmail.com> <20200922192659.14535-3-rikard.falkeborn@gmail.com> In-Reply-To: <20200922192659.14535-3-rikard.falkeborn@gmail.com> From: Andy Shevchenko Date: Wed, 23 Sep 2020 00:31:28 +0300 Message-ID: Subject: Re: [PATCH 2/8] mfd: intel: Constify static struct resource To: Rikard Falkeborn Cc: Lee Jones , Linux Kernel Mailing List , Andy Shevchenko Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 22, 2020 at 10:32 PM Rikard Falkeborn wrote: > > Constify a number of static struct resource. The only usage of the > structs are to assign their address to the resources field in the > mfd_cell struct. This allows the compiler to put them in read-only > memory. Done with the help of Coccinelle. How had you tested this? -- With Best Regards, Andy Shevchenko