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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E87E3C05027 for ; Fri, 10 Feb 2023 16:26:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232879AbjBJQZ7 (ORCPT ); Fri, 10 Feb 2023 11:25:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44460 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232047AbjBJQZ5 (ORCPT ); Fri, 10 Feb 2023 11:25:57 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EB18F6A7D for ; Fri, 10 Feb 2023 08:25:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1676046310; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ld8jQknkBmqDQVj2zOFVhooagaMNsILXN0htn4jC07Y=; b=DA/+PgMGONigRxqoqp33pEiM8GAxfa4PqEFECig1g4m85KkTyCP0GcxUrkF/0aa6y5sLuk 9egJtAv9+vdhcqJygBSicL3cPGtdwUW0pC/rdOI2l0JRbo4dZF9DUnVSWs9QZ1BA9nsWYw CQ+q5oeL+E2klv9mZrXvvLuz0j2Dh0s= Received: from mail-ej1-f70.google.com (mail-ej1-f70.google.com [209.85.218.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-342-P0FXD26DMUi_YKjSENgCYQ-1; Fri, 10 Feb 2023 11:25:08 -0500 X-MC-Unique: P0FXD26DMUi_YKjSENgCYQ-1 Received: by mail-ej1-f70.google.com with SMTP id xh12-20020a170906da8c00b007413144e87fso3873232ejb.14 for ; Fri, 10 Feb 2023 08:25:08 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ld8jQknkBmqDQVj2zOFVhooagaMNsILXN0htn4jC07Y=; b=62/tw3LAlzxUzEsM4+rg0AUncnVpsE9HX7Xc1jxiYffD7h2VheMcM7Xs3A29BITLvS DcueO8HOYH4qd20CxH5ttuYY8Igl8dWOUXZBqRPDW4axNIVKU7pcLc8J+BTf+JWvW4ik DonQ/OVpTUgO519JP9CvYTGi+5CiYBx5WzbwBvE+L6jOXNaiw+PaoxJgHk1SWGOaEQ2G 4k1qw0nbZ6MIOLf4yXopr20OHIpNY4jLh1nNwxofwHA73gJWGagFOAYSZNfuM5K9CyXJ QZm8NMz6YGccSx1daYQ2wWmcKhcTLXNzuee8hBrkNd13db1sD0Pixk/9rAf6nD4QVzvu 5mkQ== X-Gm-Message-State: AO0yUKU4T8vMnhDBrxJ9N+QVMhGIb02TR6PqCWm3zmSM2VufNgccHjiV +efGGv1GV51GQVCOf6MO1MyaqMfBeKWXFDh2jJj9jGaDNcpV4wNWxB8OaYMhX3j4gzPEdX0RwLj 3ozJ/OUvLMO3fpTN20u7Hh35E X-Received: by 2002:a50:9318:0:b0:4aa:b250:16 with SMTP id m24-20020a509318000000b004aab2500016mr15791246eda.35.1676046307639; Fri, 10 Feb 2023 08:25:07 -0800 (PST) X-Google-Smtp-Source: AK7set+9+I+I0IrAWfr7PnQaKpoRL9Avm+D4AQ8CcF6+ZF7O2AbAZtbk0D+JjhAMswHholy/SFWMNA== X-Received: by 2002:a50:9318:0:b0:4aa:b250:16 with SMTP id m24-20020a509318000000b004aab2500016mr15791229eda.35.1676046307444; Fri, 10 Feb 2023 08:25:07 -0800 (PST) Received: from ?IPV6:2001:1c00:c32:7800:5bfa:a036:83f0:f9ec? (2001-1c00-0c32-7800-5bfa-a036-83f0-f9ec.cable.dynamic.v6.ziggo.nl. [2001:1c00:c32:7800:5bfa:a036:83f0:f9ec]) by smtp.gmail.com with ESMTPSA id v26-20020a50a45a000000b004ab0d88afe5sm2451577edb.79.2023.02.10.08.25.06 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 10 Feb 2023 08:25:06 -0800 (PST) Message-ID: <5e4f220a-92b2-c195-f660-26ed5e882aef@redhat.com> Date: Fri, 10 Feb 2023 17:25:06 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 Subject: Re: [PATCH 0/3] platform/x86: Make kobj_type structures constant Content-Language: en-US, nl To: =?UTF-8?Q?Thomas_Wei=c3=9fschuh?= , Divya Bharathi , Prasanth Ksr , Mark Gross , Mark Pearson , Justin Ernst Cc: Dell.Client.Kernel@dell.com, platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org References: <20230207-kobj_type-pdx86-v1-0-8e2c4fb83105@weissschuh.net> From: Hans de Goede In-Reply-To: <20230207-kobj_type-pdx86-v1-0-8e2c4fb83105@weissschuh.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On 2/7/23 17:40, Thomas Weißschuh wrote: > Since commit ee6d3dd4ed48 ("driver core: make kobj_type constant.") > the driver core allows the usage of const struct kobj_type. > > Take advantage of this to constify the structure definitions to prevent > modification at runtime. > > Signed-off-by: Thomas Weißschuh Thank you for your patch-series, I've applied the series to my review-hans branch: https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git/log/?h=review-hans Note it will show up in my review-hans branch once I've pushed my local branch there, which might take a while. Once I've run some tests on this branch the patches there will be added to the platform-drivers-x86/for-next branch and eventually will be included in the pdx86 pull-request to Linus for the next merge-window. Regards, Hans > --- > Thomas Weißschuh (3): > platform/x86: dell-wmi-sysman: Make kobj_type structure constant > platform/x86: think-lmi: Make kobj_type structure constant > x86/platform/uv: Make kobj_type structure constant > > drivers/platform/x86/dell/dell-wmi-sysman/sysman.c | 2 +- > drivers/platform/x86/think-lmi.c | 4 ++-- > drivers/platform/x86/uv_sysfs.c | 6 +++--- > 3 files changed, 6 insertions(+), 6 deletions(-) > --- > base-commit: d2d11f342b179f1894a901f143ec7c008caba43e > change-id: 20230207-kobj_type-pdx86-2c60e36c63db > > Best regards,