Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp670445pxb; Fri, 8 Jan 2021 15:18:56 -0800 (PST) X-Google-Smtp-Source: ABdhPJzFnoqwkXbL+BuI4IqvNz50ThMBb4Mro7xI3jmdhJvGcuDZpt8LTvbgtPwVW4CdNgGQU6Pw X-Received: by 2002:a17:906:d87:: with SMTP id m7mr4034116eji.108.1610147936507; Fri, 08 Jan 2021 15:18:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610147936; cv=none; d=google.com; s=arc-20160816; b=dTkOpsRCeK5L79RcIeLeo2jIOeXtB0GGMmwNJ09naZDw4OS2aKzt2H1h3qrppI07O1 SiEGLpobrjwAl8qMVbb4FLgaKbipfeXCL2+HUv9LnOSCZA8j0oDkt9u9XHwYLyQQFush Wfo2KMEyenIwQDBB2OMnA2TO8dRWCBBsIrCI/SyouWUNhiYrLLjozQPAp3EFd6RGp+KX hbyUDkugVsfbxL15wNjSyqLSOD4Auxb34z71DueTTPML7eEdjO5X76BT2uY3+bZxjl/X U/rJVomqe0c4ZocqFj0dK0CNvtn1FWyMX7jgmnbX0csho7JjKlWqq16IX1hortv8mHZC 22vA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature:dkim-signature; bh=EIJ3VFsukrboXt6dlSV6x9vCPLwaTFNwnBDwe0e29MA=; b=UaXgPmtuPD/DsfaABCvnDXXoFZPmRcpoHiWIxIWjzAdAO97Fg3HKE0bD/s3FxoxelC JibU4X/gaELZTWsqXC7BcS1NSAmAalVw3kUHddG44Ph70Sn0bp3cAaUfOZDIVMBc8MXd xgpiJUTIjF1/MUKjJXI41LpIhy6sJu6rWjPSFlw4XnKotHuxXOv6w8djjDWMJUNCgBTK iq/YgIW4djFkJ3F67SbR8k9Nn5nFfxXTiMXNtQOVcWF01BTc02yAoOnqPLwE3YQKU780 dCXAZUWbRPhtOmIM2E1uFKD8IM4Q0MAg0R9PPr+/Fv7qZymPdP/xGpUmVekA7Xx9uQxD 163Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codewreck.org header.s=2 header.b=ljRVZFYd; dkim=pass header.i=@codewreck.org header.s=2 header.b=yV6g5bex; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=codewreck.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t5si3911517ejr.740.2021.01.08.15.18.32; Fri, 08 Jan 2021 15:18:56 -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; dkim=pass header.i=@codewreck.org header.s=2 header.b=ljRVZFYd; dkim=pass header.i=@codewreck.org header.s=2 header.b=yV6g5bex; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=codewreck.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726109AbhAHXRb (ORCPT + 99 others); Fri, 8 Jan 2021 18:17:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52342 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725792AbhAHXRa (ORCPT ); Fri, 8 Jan 2021 18:17:30 -0500 Received: from nautica.notk.org (ipv6.notk.org [IPv6:2001:41d0:1:7a93::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 714A1C061574 for ; Fri, 8 Jan 2021 15:16:50 -0800 (PST) Received: by nautica.notk.org (Postfix, from userid 108) id 43F73C01E; Sat, 9 Jan 2021 00:16:04 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=codewreck.org; s=2; t=1610147764; bh=EIJ3VFsukrboXt6dlSV6x9vCPLwaTFNwnBDwe0e29MA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ljRVZFYdlSHVLjOlc7/r5zZfWa2AoPX5DSdsq4hSzf+OVrSVOLqGEON/HK/+aMOd6 87Qll45jko8fwcynw3zSafrwDo1KwXtt0aVP5McmDCJgJDzv1yxAFsmBRHPPDCuR/5 SCOKroFpmns7CiMThpAtTEH8RiLJNJlmkrU9dSNBPLuiuRzE1CGQ4lx6HGKp52Q1/M BRWcJwf/3Qg8qGc6HfQtIRuOuhaRIal+ZOAL69ikSMMCwaAGGTm0/+6fcNh3m4OeFg xww/bK5y4RUn+89nKLMRMx9rbedjgU2Tn4+ByJWypv51YV7Zb5Poh3r9EbP3y3hLW0 8Nwn8tKzSNJ0Q== X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on nautica.notk.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=UNPARSEABLE_RELAY autolearn=unavailable version=3.3.2 Received: from tyr.codewreck.org (localhost [127.0.0.1]) by nautica.notk.org (Postfix) with SMTP id 8C2A8C01B; Sat, 9 Jan 2021 00:16:01 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=codewreck.org; s=2; t=1610147763; bh=EIJ3VFsukrboXt6dlSV6x9vCPLwaTFNwnBDwe0e29MA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=yV6g5bexMO5FrJLLiz/eZhdNh1x37pn5Exnk/tpHMxDqb/RnGFoksOQYMlk7mSpeJ EcZ2s9CscKZZWQHkHZtHP+zqKwVO1u682vzlUt/GbTieZUN6isBJd7U2qu4Oh3FAxk mrsgVdrMj8WaRHyafIlIZGwEL5ujD95gZEhYtCUefK7b0lovU46dfVfN6Y6yQf+MmZ Behz+pz5ZdPKhZb0WOYeN2PCAXrM0NzASsVDLcdVPvTkDhnhLQDf2JE/qCxpUYx5mz OIJ8dbC14sB36IeQWINcAQ6X2qSmKyh7kXyC9Ml65R+mivWyW6N+S96jZPAvpt18Nn QClq5VEPlaYQw== Received: (from asmadeus@codewreck.org) by tyr.codewreck.org (mini_sendmail/1.3.9 19Oct2015); Sat, 09 Jan 2021 08:16:00 JST (sender asmadeus@tyr.codewreck.org) Date: Sat, 9 Jan 2021 08:15:45 +0900 From: Dominique Martinet To: Rikard Falkeborn Cc: ric Van Hensbergen , Latchesar Ionkov , v9fs-developer@lists.sourceforge.net, linux-kernel@vger.kernel.org Subject: Re: [PATCH] 9p: Constify static struct v9fs_attr_group Message-ID: <20210108231545.GA42582@tyr> References: <20210108224650.25872-1-rikard.falkeborn@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20210108224650.25872-1-rikard.falkeborn@gmail.com> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Rikard Falkeborn wrote on Fri, Jan 08, 2021 at 11:46:50PM +0100: > The only usage of v9fs_attr_group is to pass its address to > sysfs_create_group() and sysfs_create_group(), both which takes pointers > to const struct attribute_group. Make it const to allow the compiler to > put it in read-only memory. > > Signed-off-by: Rikard Falkeborn Thanks, taking it. -- Dominique