Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp2163363rwl; Sun, 26 Mar 2023 17:22:48 -0700 (PDT) X-Google-Smtp-Source: AKy350aGVxHA0CHIF3xAjymra/SsD4mq1j+yFaO11iW+Fpo5O70ZxWteZdiruQn3oC1jJhSdzlmJ X-Received: by 2002:a17:906:5288:b0:932:3d1b:b67a with SMTP id c8-20020a170906528800b009323d1bb67amr10414483ejm.41.1679876568239; Sun, 26 Mar 2023 17:22:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679876568; cv=none; d=google.com; s=arc-20160816; b=w6vASdpzE6qqARiq4mr8F/7XMc8SF3ap1X488Y1rKIyiMBkNTOYA1SvKeC4eG6tRYW YWKCw63BreM/Q4bBXU5yzGPVYdKIdOjDSt3hftDqQTpdJseyYaeXGY3ZjkH95DHhuV1Z qXUylYzGGkZ+BlUX31p24zVCEEOr9ROeH/ANsCWSJAg0OAP7P4zwtm+Mjo2Zr0qU665H nuqW4e41YfRA/ga8Q0zdxSKSy+s90TmNPWglZBdyzvm+rZKaZxicDzYnzgSORP7TW/B3 3o0CqZxn1HMiYq+hMY5CvpNNVPUsBPaUG0Dlu+Q3p2OXSQsMNwP4OpmB3C7dkEZ4Jx9d viOQ== 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:dkim-signature:date; bh=Ukp8Zk+nkWb5n5rKemwPmEimpDo/oyc0P0+pTNqI0ec=; b=I8+ZZ3yQignx+4psgllDGIPdSv4rxdyedk99I172dkhbwrBggg11MXU1cHSm2KXzLv M+Hx9w0ablqmJQqq0h4l+ugwLp7xqTSe9DHkLl62dnzXifIwN2Z1EwXvCMhGilnf78C1 Cpt9RbpdZ+lBImkobS/bR0hsx3kjMscxHt1COSQCMHhSYVBzZkcJyfoiV+Ks86bnJGrY yb4VYyRbC6cKc6VLChH6jMmuXJAV0hBRoB6e8YQ2gws6diF1796Fo2eFQEOeew4Tzwsa 3iZmT/4Vwud5auRUhQ4BnRX8ka7cxn74Oouir7OSI7qG5VeXd6UsUTUSVz9fz9l2d1gQ Ex+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@weissschuh.net header.s=mail header.b=iBV4OpLy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g9-20020a1709065d0900b0092be21ff08dsi24763836ejt.536.2023.03.26.17.22.23; Sun, 26 Mar 2023 17:22:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@weissschuh.net header.s=mail header.b=iBV4OpLy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229850AbjC0AGT (ORCPT + 99 others); Sun, 26 Mar 2023 20:06:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44008 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229479AbjC0AGS (ORCPT ); Sun, 26 Mar 2023 20:06:18 -0400 Received: from todd.t-8ch.de (todd.t-8ch.de [IPv6:2a01:4f8:c010:41de::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 708A11FC7 for ; Sun, 26 Mar 2023 17:06:17 -0700 (PDT) Date: Mon, 27 Mar 2023 00:06:12 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=weissschuh.net; s=mail; t=1679875574; bh=jHjpxcedBEzz1656QTLn588+xnSNIb6Y8NrCIkTQtyA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=iBV4OpLyQEtZHJzUeo3YaV5COhjMeEa+lf5AiyFUkca1Wv4VqfOBezzhsN4czvQwm IBaCRvj5tkmKZ6/Y9NtH961MHXIcPgSOn3/2zgKEjQiBvYmI/os5qkeeyvDW8lUcOq FRJ6ROIDlP5f5lebV9KMSW/VjXKdWRYNtZQv+wLo= From: Thomas =?utf-8?Q?Wei=C3=9Fschuh?= To: Marek =?utf-8?B?QmVow7pu?= Cc: Gregory CLEMENT , linux-kernel@vger.kernel.org Subject: Re: [PATCH RESEND] firmware: turris-mox-rwtm: make kobj_type structure constant Message-ID: References: <20230227-kobj_type-firmware-turris-v1-1-e48f65155ec5@weissschuh.net> <20230326125759.qhq62wjaeu75rd3j@kandell> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230326125759.qhq62wjaeu75rd3j@kandell> X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Marek, On 2023-03-26 14:58:16+0200, Marek Behún wrote: > Didn't I already give reviewed-by tag? Yes indeed. Sorry for that oversight. > Reviewed-by: Marek Behún > > On Fri, Mar 24, 2023 at 04:27:50PM +0000, 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 definition to prevent > > modification at runtime. > > > > Signed-off-by: Thomas Weißschuh > > --- > > drivers/firmware/turris-mox-rwtm.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-)