Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4262044pxj; Wed, 12 May 2021 01:24:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJySUrl7hJP1mj6XwPfK32JKP1wqZP3l5tsUjzmU1atQHgoAyyp0SwxaJsZk9owvneUaHw6f X-Received: by 2002:a92:c5a9:: with SMTP id r9mr399736ilt.93.1620807897818; Wed, 12 May 2021 01:24:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620807897; cv=none; d=google.com; s=arc-20160816; b=IR5+vrZwP/D8uOHnz+BTn6Nyp7Zc+ldOUUrgaLbMfTpGT4FVF03vDmhY3esMo4YX6w qEuqObtZM+6/b+hgx2htsD3s79yYHJ4x0R+umQrJOzpvGuoLoXIy437h9BQpj7Ga3yCX 5HevXy6PhFqHWDBsvrH4IvxNEEV3lxLX5NCjRLq4/Cbpl1jVT/V5/iyo4dXh1cA694PI h0UgdplrnEiO3nPU4zyKG29VKsGophUsYAbFLv1ms3M9TffMUtLINeBtnNkNrgz+TfYA 0Hgghi0wsJsKIF4uDVLoIBhyP75CeW7txNGGXZoAn0HVtb0uIPwuO3c4eYgU3RwPh9Gg u/nQ== 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; bh=wG06jQsuxXmpyimFW25Di30SFAygGPupxoCDyLNhcwM=; b=z41Ka+d2c2ZJTMnhCGqe+iN9EaS0A2BQjV0G7aj30h6aKYoFwYOMw02d+XxPOoxJcZ DmHP8baafKotGZPZcE9K9Zt4w1k8QwBaErd+VgYQc9zBpCyz2453NyfmqRI/P86V5ItP uz7kbnMspzJCI10tmsbBWQP5vwGBLVwj5aPi+nD/MMer3XHGd3jaEWESHx4mczwMH6Sv MChiT8aXOF5ZuvIa4K0J999sf/hxJyJQLYQECw18ayIQbmPAFmyQZRDNxPRTECHfCP9K YtADuvyKaIy2tSkC/9EVjw9VqDZ8W4TU5pARC/OuhQBQU8mh7pD8ZpDS6gIAYN79O3Y9 76iw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cirrus.com header.s=PODMain02222019 header.b=beETCuRY; 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=REJECT sp=REJECT dis=NONE) header.from=cirrus.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t14si20855961iol.93.2021.05.12.01.24.44; Wed, 12 May 2021 01:24:57 -0700 (PDT) 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=@cirrus.com header.s=PODMain02222019 header.b=beETCuRY; 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=REJECT sp=REJECT dis=NONE) header.from=cirrus.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230247AbhELIZV (ORCPT + 99 others); Wed, 12 May 2021 04:25:21 -0400 Received: from mx0a-001ae601.pphosted.com ([67.231.149.25]:16566 "EHLO mx0b-001ae601.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S230129AbhELIZU (ORCPT ); Wed, 12 May 2021 04:25:20 -0400 Received: from pps.filterd (m0077473.ppops.net [127.0.0.1]) by mx0a-001ae601.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 14C8GxTo019727; Wed, 12 May 2021 03:24:06 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cirrus.com; h=date : from : to : cc : subject : message-id : references : mime-version : content-type : in-reply-to; s=PODMain02222019; bh=wG06jQsuxXmpyimFW25Di30SFAygGPupxoCDyLNhcwM=; b=beETCuRYrXrA3GVdgcPhpdwYtmDsB405/VaNYvJghaNT2P3Q95bJkx3mT10yjxhsvd3E 70ERBtS+K8OyZb25wUrCa6int9YAnhBfgIuLGbP8Z+27JEaPJv3WRj1yETCiUpTF8GOm 68iJ8itrDANQun4xMba9i2Djj7BF/xv0fN5yXnuLCmT+4N+gJiif7tcv841Spk0BYDWr fT2C9dR2q3PHR23aIGCoitjnShND1CwxNZ1PNG1v7Zw9upH3hmH2CvoCm5VTt4S3jlcS 9ltcAZ4vQBisvIhE3+LAktOe03yG3jkAWhiJaQ4Sk6TttfvJiTyEcVYVuRodE3/+fALw kg== Received: from ediex02.ad.cirrus.com ([87.246.76.36]) by mx0a-001ae601.pphosted.com with ESMTP id 38f4x1ata5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Wed, 12 May 2021 03:24:06 -0500 Received: from EDIEX01.ad.cirrus.com (198.61.84.80) by EDIEX02.ad.cirrus.com (198.61.84.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.4; Wed, 12 May 2021 09:24:04 +0100 Received: from ediswmail.ad.cirrus.com (198.61.86.93) by EDIEX01.ad.cirrus.com (198.61.84.80) with Microsoft SMTP Server id 15.1.2242.4 via Frontend Transport; Wed, 12 May 2021 09:24:04 +0100 Received: from ediswmail.ad.cirrus.com (ediswmail.ad.cirrus.com [198.61.86.93]) by ediswmail.ad.cirrus.com (Postfix) with ESMTP id 6757611CD; Wed, 12 May 2021 08:24:04 +0000 (UTC) Date: Wed, 12 May 2021 08:24:04 +0000 From: Charles Keepax To: Simon Trimmer CC: , , , Subject: Re: [PATCH] ASoC: wm_adsp: mark more data structures with the const qualifier Message-ID: <20210512082404.GF64205@ediswmail.ad.cirrus.com> References: <20210511171459.270169-1-simont@opensource.cirrus.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20210511171459.270169-1-simont@opensource.cirrus.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Proofpoint-GUID: wn-E5DoFsPPEs0soT1eJRsZdpd7wZ-aW X-Proofpoint-ORIG-GUID: wn-E5DoFsPPEs0soT1eJRsZdpd7wZ-aW X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 adultscore=0 spamscore=0 suspectscore=0 mlxlogscore=999 clxscore=1011 bulkscore=0 mlxscore=0 phishscore=0 malwarescore=0 lowpriorityscore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2104190000 definitions=main-2105120060 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 11, 2021 at 06:14:59PM +0100, Simon Trimmer wrote: > The callback structures and memory region type table can be marked as > const as they will not change during use. > > Fix checkpatch warning against wm_adsp_find_region function by moving > const keyword to form the 'static const struct' pattern. > > Signed-off-by: Simon Trimmer > --- Acked-by: Charles Keepax Thanks, Charles