Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1522545pxb; Sun, 7 Mar 2021 22:44:05 -0800 (PST) X-Google-Smtp-Source: ABdhPJwlA8bTkMHe3phLEALHNXS3R18LxwxxjhA7BAxCoLmw/rKrwYjPa15duJnCH8OUi4t7Hnpk X-Received: by 2002:a17:906:358c:: with SMTP id o12mr14097247ejb.156.1615185844972; Sun, 07 Mar 2021 22:44:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615185844; cv=none; d=google.com; s=arc-20160816; b=fZe5qRx3uRnOlqCXE+v/W0B7LDqZ23ogZ0lbDZmVaDD4CFMvAEL5Ge/ru+sM+LXVV9 th2oS0E7FSBQCzijWfcs6djIj2iQZ1GDb7ufjetiUw57am/Heu1/lHgtT3kjmyBmHCG9 eUYjLSNaQeEi3P0aMdwKml/CdLN1ifP1DFhtsXoSq2rlspBAlY6ol2aB2oINtRX1yksE nYftS7ICmA0m/u3R6GISY6PD5DZl6pDlO7qDG1/sBVMDf9rA6NnQ6R48hnsZQO5XorDo aNnweplDoeubM7Fhd0FK7v0fQmAFTn78yWcW4XeoeCIeR9FhIlHavj6tcOA64xd/uTjJ g6yw== 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; bh=FgL+9rKQ2SbYD82Zdufywe8UTaKB24r3GYmTSLgcyds=; b=L0FOibOEddW9+VkvzG13jg+mgOot3H32rPjHtk7yy5xtqLPGTSisp/ooxQOCf87P1R TgrLdtNHQTeIIlHsp/TjFqXXW4ZRhiCbO7yo/01U/pFHrdEoxRV14BjWLGOs54KLke/T pYaQo8L+TUs2tFzAAYi3eqN+jHr7pqAFiLPoWiTJCurwq6qJ+QRiWAfAH5WY+bskq3w3 VEod8uCl/x2weUW/5/xPl6Ub8J0CVlS+P+p6f8k17fzsxBZBN0gqOkgvWmKQTEcL77u1 Ty0bzhWjxp99lmnIuoy0vNXIVwO3aKDYIZYwxyJAd3lGfpogoFmXwF+Wca2ak941l9tH 3niw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id df23si6440497edb.38.2021.03.07.22.43.42; Sun, 07 Mar 2021 22:44:04 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229674AbhCGR2e (ORCPT + 99 others); Sun, 7 Mar 2021 12:28:34 -0500 Received: from mail-oi1-f181.google.com ([209.85.167.181]:33791 "EHLO mail-oi1-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229637AbhCGR22 (ORCPT ); Sun, 7 Mar 2021 12:28:28 -0500 Received: by mail-oi1-f181.google.com with SMTP id a13so8583225oid.0; Sun, 07 Mar 2021 09:28:27 -0800 (PST) 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=FgL+9rKQ2SbYD82Zdufywe8UTaKB24r3GYmTSLgcyds=; b=dhJHmBLopzDz2rPazy+Bdt1rGgxu7zn9Y1LwCq0ZnmaddBno4Lxj1nueAhNKHr826u oFqPJXw1GJF/UHYqy3Im23ez6DRaACpgDLPAAZ2vsphFsVp8g2izaVmq+U1d2D04QN3q 8yjAdw/s8FkzcaEPLzpodvNlyDHl9TMfnAj6nMsG3MceudfaCxvEKzBCJ7QzxiWaBSqw HunnIN/hxP26Ch2sBT7tudjVXESUUqs9F0KcDKqz6MrFUfs2wv1b0wWZwAITcoqD4xv6 FCXG6QVkAfQ3ux1tzB6tX3hxgxz8+3ZuSEt1I4tngOgPBNUC+wR6SKYB9POCYWbuTvIf 6Ayg== X-Gm-Message-State: AOAM530wLhHASGPYy9f1qB7KvWw9nZiYesycggPme6joKKc80HKqHWfl kZ1GZ0RdLcbcMJRlxKY8m/kzWXtKg0V+iw== X-Received: by 2002:aca:4b4d:: with SMTP id y74mr12544964oia.97.1615138107431; Sun, 07 Mar 2021 09:28:27 -0800 (PST) Received: from rocinante ([95.155.85.46]) by smtp.gmail.com with ESMTPSA id h7sm2165816otm.0.2021.03.07.09.28.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 Mar 2021 09:28:26 -0800 (PST) Date: Sun, 7 Mar 2021 18:28:22 +0100 From: Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= To: Rikard Falkeborn Cc: Lorenzo Pieralisi , Bjorn Helgaas , Thierry Reding , Jonathan Hunter , Vidya Sagar , Jingoo Han , linux-pci@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] PCI: tegra: Constify static structs Message-ID: References: <20210207221604.48910-1-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: <20210207221604.48910-1-rikard.falkeborn@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Rikard, Thank you for sending the patch over! > The only usage of them is to assign their address to the 'ops' field in > the pcie_port and the dw_pcie_ep structs, both which are pointers to > const. Make them const to allow the compiler to put them in read-only > memory. [...] Reviewed-by: Krzysztof WilczyƄski Krzysztof