Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3049242pxb; Sun, 31 Jan 2021 02:36:41 -0800 (PST) X-Google-Smtp-Source: ABdhPJwT8YD0quq3ZVk4Nu3hB/UvVmZXFmvX026g/VCeiqfakFx5kCANB/rdEvKACrqPGeYRMUEj X-Received: by 2002:a17:906:6407:: with SMTP id d7mr12370337ejm.133.1612089401686; Sun, 31 Jan 2021 02:36:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612089401; cv=none; d=google.com; s=arc-20160816; b=YW9DAtroY/CFqWzDmwAW1XjQXis1Fd9Zr+ovuiiOs/2zJe5phzi+C2BlfBkszkxFlU kaLxB9qqigzyANuRAfgd6q8fHZoLUQCR2OuKIHzfPlQ/p4DhdW1dqUI9PmbtvcLUo91A I2v2nm7sMBiyrkduGoCfzBehsO5FOG2AD1tBMgN6pY1M4oAzR86FvuD2cZ7ZIwXH1QD/ Z9Agga8h1P7JYBOu8eFOFcweTGfxGW7jTLjtOF1af/PjzjjFU+04jHZ3bioBpBEcJIze Y4wBZTQNLo5SOLCyl8uZRGKWutlPPShDX8bqMg983v6488IIg1PCXtpMcOaupeGfq6yb SBkw== 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=A8KSS9J2WksvCqiiTTxasS58E8aW+MfaQO4VMj7XBus=; b=gX5borhP2PRd+YDZJ0mg77XA/C8cE1a61txIOtVT/x6EuuimSyQhs+2yfzmYvbF155 p+E+qyNgWKoAO+CRETIZDxC9H6HyF1I8e0jMT9/k1bgzj+EOsmaGdqr6+Z1/VIMjLPPU jObj0OUDN5MUS6pMVEpGexa7VKt7F4OGezrMLgnTiBKGiRQOPepldyf1nCjVxdDZoCI9 Cy0qIdb6sl2t7kPjBw5ELwvz7++54xwDvJ0UYNcGzFSUa1FhHEXLly6IzLxMkNqnU66k 57xAr0pYqKfk47g1pWm2eFnQ9owpDTCXhuwTud/VougWYAfIVuIjGM+myI/59nDTthAe ifTQ== 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 gn17si7841867ejc.676.2021.01.31.02.35.51; Sun, 31 Jan 2021 02:36:41 -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 S229957AbhAaIya (ORCPT + 99 others); Sun, 31 Jan 2021 03:54:30 -0500 Received: from mx2.suse.de ([195.135.220.15]:58794 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229502AbhAaIvZ (ORCPT ); Sun, 31 Jan 2021 03:51:25 -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 3129FAC97; Sun, 31 Jan 2021 08:50:38 +0000 (UTC) Date: Sun, 31 Jan 2021 09:50:38 +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 1/2] ALSA: ac97: Constify static struct attribute_group In-Reply-To: <20210131001241.2278-2-rikard.falkeborn@gmail.com> References: <20210131001241.2278-1-rikard.falkeborn@gmail.com> <20210131001241.2278-2-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:40 +0100, Rikard Falkeborn wrote: > > The only usage of ac97_adapter_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