[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH 3/3] x86/dmi: Constify quirks data


  • To: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
  • From: Jan Beulich <JBeulich@xxxxxxxx>
  • Date: Thu, 25 Jul 2019 10:37:37 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1;spf=pass smtp.mailfrom=suse.com;dmarc=pass action=none header.from=suse.com;dkim=pass header.d=suse.com;arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=mQekNGd4MtbRqzrWRrooM0G7PGkZ04YIRF6Bpd5Sq0c=; b=g1Mh5Y1pVHvGm14o2zeSp5cE1IkIZKNCVx1KLQUXjsChY/+uNbAVcriWCJqDNnD7AZvbmgsV+oQhMdC30IRUrH+pE1S0FJfQQGuWTwcIDKabY/xaayIP4MG7LUuJW1hwDLpLPmI0WHTXmwejDVrYbxiz4vBWu7ValVJeaeEE8bCBKlvMXjwqk6mB3W/dySiLEMkLTKD8NjHF/28f5Feaqfxixr8VsZP2W+whRKJzETD2yaN9+N7W9XOOKB1Cq+vqxYih38pMWJ+fA9LdjVGPHR29raB3hSOAECPZqpMLOWyVi3k0y5KQe9WhytQldQQTNbekjCNrmshUfvKwo/Bq2Q==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Z/i26tYtIFL4QLUQzrVIku2O7XG4xNGQT2YXe9b3riOKXbfpsZ/MkbJxez+N4ASryfSbEP3D26K2cGbBLs/wG+guxXoaE4GWkfxZATYnVOXgKBhVxMHk9ALCdE3Z1BDE1Q/jY54jtxAB0/vAQJqy2emIzfHq/xoI/XcycgM+fBAqbQTOHTUs3vvRXh8202XZIbrjv9dTY2fW3bnvzwVRF3cmw+NcTivp+aiVX6QUNwoBjmHLOD6/KZ3yP1WEncMrN3v6scGmNzbbnHRrfU+/77OYkPP2X125mHYvwlordWUC1jaZJaDehwHp4tCvH8cxZwlhalZWJgUvj/jbVKFHGw==
  • Authentication-results: spf=none (sender IP is ) smtp.mailfrom=JBeulich@xxxxxxxx;
  • Cc: Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>
  • Delivery-date: Thu, 25 Jul 2019 10:39:03 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Thread-index: AQHVQkdJ4D6dRHL0Jkazew/ijLBoYqbbJWCA
  • Thread-topic: [PATCH 3/3] x86/dmi: Constify quirks data

On 24.07.2019 19:42, Andrew Cooper wrote:
> All DMI quirks tables are mutable, but are only ever read.
> 
> Update dmi_check_system() and dmi_system_id.callback to pass a const pointer,
> and move all quirks tables into __initconst.

I think you need to use __initconstrel throughout.

> No functional change.
> 
> Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>

With that adjustment
Reviewed-by: Jan Beulich <jbeulich@xxxxxxxx>

Jan
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.