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 81B9AC636CC for ; Sat, 11 Feb 2023 08:38:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229647AbjBKIii (ORCPT ); Sat, 11 Feb 2023 03:38:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35340 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229630AbjBKIif (ORCPT ); Sat, 11 Feb 2023 03:38:35 -0500 Received: from smtp-out1.suse.de (smtp-out1.suse.de [IPv6:2001:67c:2178:6::1c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 14D595EA37 for ; Sat, 11 Feb 2023 00:38:32 -0800 (PST) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 803A3336B1; Sat, 11 Feb 2023 08:38:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1676104710; h=from:from:reply-to: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=hzYAmcEVYk0qhXxqW+ZCHSAIQSBuANzaT/Rs3V9LXdg=; b=zJxgweaqO7cpPESNCxWFuJptYx8YfRkfxrTK+GlNfD3NpqOvdiemdvcVnrMXbzYPBofuCC WwRU9ByWdtVpsIvlf8J9LkuS5A4dw5/3EhVkYPSv6Ob+8iHCTCyNMdsrEAMF+ClYCZzmHc Oalg0ybVbcAG+Y1cg/tbuDPDDxKHX5E= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1676104710; h=from:from:reply-to: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=hzYAmcEVYk0qhXxqW+ZCHSAIQSBuANzaT/Rs3V9LXdg=; b=1nudmfgJXeqlLVpgSo0fRO2iuqp0cxPlUlBZwZpAJIBPDWksWtaPooifZJsvvlnqXiRNp8 XDZsriNeUyeMEQBg== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 5573713A1F; Sat, 11 Feb 2023 08:38:30 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id WnvrEwZU52OJDQAAMHmgww (envelope-from ); Sat, 11 Feb 2023 08:38:30 +0000 Date: Sat, 11 Feb 2023 09:38:29 +0100 Message-ID: <87wn4oha0q.wl-tiwai@suse.de> From: Takashi Iwai To: Thomas =?ISO-8859-1?Q?Wei=DFschuh?= Cc: Jaroslav Kysela , Takashi Iwai , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ALSA: hda: make kobj_type structure constant In-Reply-To: <20230211-kobj_type-sound-v1-1-17107ceb25b7@weissschuh.net> References: <20230211-kobj_type-sound-v1-1-17107ceb25b7@weissschuh.net> User-Agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/27.2 Mule/6.0 MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 11 Feb 2023 04:33:53 +0100, 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 Thanks, applied now. Takashi