Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3049399pxb; Sun, 31 Jan 2021 02:36:57 -0800 (PST) X-Google-Smtp-Source: ABdhPJzFqgfc93B2zCom10eZdF/Sry5wRo+qawn8cCbF/rJGbB0D4q79UzZzVPaisH4iep25DOfk X-Received: by 2002:a05:6402:4389:: with SMTP id o9mr13684332edc.164.1612089417300; Sun, 31 Jan 2021 02:36:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612089417; cv=none; d=google.com; s=arc-20160816; b=BylraK4xeoVkKfnRvJqgtxU1ONR9tI3bh1XdotfTmya4j1L29Ud7rwWBEwfEOwUOZz 1ztMqhWPPBS+yYclwDXn5ldnJDmAE4hETf3RkrXkn0y6lwhoh6It37ku5KFi/WYTAfZi UZMLwAHmtTt4LZgB8bUwPeFg/X+1c6WCtXbWSOGHBUyrSc+odKD7bOIkOc0m6F8cHGBd l10GxXTbToYiiJmrYuxcePz3ZpvlcHvZQiZpS48RoOM1j0mYGi/2+NsQfzg/36gtvB6i HaA7pqDKXBws17r3m5JVsPI/xzh28AMDI7Cpkws0S7a1EJgl5rJ8V82+bbSDGBQ6ymQN gWBA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:in-reply-to :subject:cc:to:from:message-id:date; bh=iSOEGp/6PkAWKYivTmdcZsqDgyJlh4cMMj6v+LVo8GU=; b=q2CLJA57pI6lxa72qiVGi6L7Na6eGCSrAWVbeMKX3jvXUsblKC9dvp6n0NcbG/xxQ/ rBhn00Kuy2umEi+TaL1ro3mec468bSHa1RCtlL1biAgRUs4n9OwVS0TYGpP89ooEPCVn wLnFyAg/R2twrtlbURdLZKyYWsgSDHDZBli8OR7xLn6Tz7F+O97llMmrCwaaCDUQeFna 3a7AvH5LMylfLap92rNCgCYjM7vqPh2hzjfi8bN7YPPZ5oOt4yd3m1kH2Ap5JxUFT+6U Y9lxNDPhoenDcdV6C45kHNIbsRxoKwMOF2FMhPOw013RganksKU9GidN7ZGf9EwCsr5T BgZA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id df24si8397407edb.246.2021.01.31.02.36.33; Sun, 31 Jan 2021 02:36:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230043AbhAaIyc (ORCPT + 99 others); Sun, 31 Jan 2021 03:54:32 -0500 Received: from mx2.suse.de ([195.135.220.15]:58832 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229970AbhAaIv3 (ORCPT ); Sun, 31 Jan 2021 03:51:29 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 64849ACB0; Sun, 31 Jan 2021 08:50:48 +0000 (UTC) Date: Sun, 31 Jan 2021 09:50:48 +0100 Message-ID: From: Takashi Iwai To: Rikard Falkeborn Cc: Jaroslav Kysela , Takashi Iwai , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/2] ALSA: hda: Constify static attribute_group In-Reply-To: <20210131001241.2278-3-rikard.falkeborn@gmail.com> References: <20210131001241.2278-1-rikard.falkeborn@gmail.com> <20210131001241.2278-3-rikard.falkeborn@gmail.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/25.3 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 31 Jan 2021 01:12:41 +0100, Rikard Falkeborn wrote: > > The only usage of hdac_dev_attr_group is to put its address in an array > of pointers to const attribute_group structs. Make it const to allow the > compiler to put it in read-only memory. > > Signed-off-by: Rikard Falkeborn Thanks, applied. Takashi