From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 45D8FC3064D for ; Tue, 25 Jun 2024 01:08:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=OZ2l4rvhLdb5zNKxoHNK6je0C77nF/TIfXLS8kYBYT8=; b=ptFUzKqdub3qyrDfwdCelFVna1 FYGyBzKG7MYzxv/doIQGsND/pFUQMgeHQo7N/jHOGli/NQ5cZ7/xmJGJ6+/5IQlR8dKSFbLv9Vfof 9EXMjPNLTiJxM4uNEFsK+2OYkLhSrC2Kew9Dbd3OaMQ0qLEbPKwkCgRta5Mikagno3w44zWoXfcTb wCFvUeANurF3CP7fTcJdG5EWxzdHKmDNrjivZOB8FD4cGQBJW3j148z/3xDvrnxiF+w3hF5roFC7l 3ifi34guAjHiGcrUg/vHwhkjhmmvNuC18OZ5GV1rT/RB1SnUO9klwbaW2jilAuCDP/0uPwrmro+yw A0Twc4Bg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sLufB-00000001BLf-0JAB; Tue, 25 Jun 2024 01:08:01 +0000 Received: from mail-pg1-f182.google.com ([209.85.215.182]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sLuf4-00000001BL2-0FK2 for linux-arm-kernel@lists.infradead.org; Tue, 25 Jun 2024 01:07:56 +0000 Received: by mail-pg1-f182.google.com with SMTP id 41be03b00d2f7-717f17d7c63so2378531a12.0 for ; Mon, 24 Jun 2024 18:07:53 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719277672; x=1719882472; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=OZ2l4rvhLdb5zNKxoHNK6je0C77nF/TIfXLS8kYBYT8=; b=tnCI9CiiN5TLZx9NZ1ZAqdgkaLK04Elu7YPM4ldmXMTH0DEbpYVW0/72zKBx2hP08+ aeihs4lZvCAW/d0NHgXvW8s5bEd2yGKWZAvBqdDSHxZdUHT6wiDptNuGZo8uGO90s1Hn RSlyGwtGBJMv8c5hUqzWFP62ircD+cKLkurWjYOKoJwzpoinUbpvsZ/3RUw7YhOTvcUb nT6vFHeBPVRLa0LoWgYE6V9liOAW4+CnWD1TyrpmiPhsKAQ/Z3Z726fdUp74oIHhwguI e5ltIdOfe7qyJpDoXbRn84r8wySMmIyGO+48yzTNZKXzws2xhuOV5MtqUO4xFshyHEk4 yb4A== X-Forwarded-Encrypted: i=1; AJvYcCUhUb/dG1pOWMZ/AeanYYoWwYyYuN7eld3nSqucmVKiuBgYTYg/of5MxzSxd4BGJKTLEk+AYYJs9Omk5sHLagA2FHWTIGadHpzPUycVN2HMWf3y3s4= X-Gm-Message-State: AOJu0YwJYMydJ9YGUlvveK4H2EwnT35a3m1ss7njDpuTAx4k3TNQ2ng3 hB3U6hBcwFd4XUUCgREhMvCLxVXfr0s0XrDWicfSuALnULocPiLI X-Google-Smtp-Source: AGHT+IF/uXFrtb1A0Glhz/BEFQiR25mYJoiI5Hw7sgeRptJRnKb6S6bz/2Rqegm/kJ55jsZi0yWAMw== X-Received: by 2002:a05:6a20:2d8a:b0:1b8:9b05:e7a5 with SMTP id adf61e73a8af0-1bcf800034fmr4834215637.61.1719277672522; Mon, 24 Jun 2024 18:07:52 -0700 (PDT) Received: from localhost (fpd11144dd.ap.nuro.jp. [209.17.68.221]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-7066c2ebd85sm4823974b3a.93.2024.06.24.18.07.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Jun 2024 18:07:51 -0700 (PDT) Date: Tue, 25 Jun 2024 10:07:50 +0900 From: Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= To: Christophe JAILLET Cc: Hou Zhiqiang , Lorenzo Pieralisi , Rob Herring , Bjorn Helgaas , Karthikeyan Mitran , linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, linux-pci@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH] PCI: ls-gen4: Constify struct mobiveil_rp_ops Message-ID: <20240625010750.GA430517@rocinante> References: <189fd881cc8fd80220e74e91820e12cf3a5be114.1719260294.git.christophe.jaillet@wanadoo.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <189fd881cc8fd80220e74e91820e12cf3a5be114.1719260294.git.christophe.jaillet@wanadoo.fr> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240624_180754_128247_645EE55E X-CRM114-Status: UNSURE ( 8.82 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hello, > 'struct mobiveil_rp_ops' is not modified in this driver. > > Constifying this structure moves some data to a read-only section, so > increase overall security. Applied to controller/layerscape, thank you! [1/1] PCI: ls-gen4: Make struct mobiveil_rp_ops constant https://git.kernel.org/pci/pci/c/cd09a6ac85b9 Krzysztof