Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751798AbdHRMUj (ORCPT ); Fri, 18 Aug 2017 08:20:39 -0400 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:35704 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751046AbdHRMUh (ORCPT ); Fri, 18 Aug 2017 08:20:37 -0400 Date: Fri, 18 Aug 2017 13:20:34 +0100 From: Mark Brown To: Arvind Yadav Cc: bardliao@realtek.com, oder_chiou@realtek.com, timur@tabi.org, lgirdwood@gmail.com, linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org Subject: Re: [PATCH 05/14] ASoC: hisilicon: constify snd_soc_dai_ops structures Message-ID: <20170818122034.3x3ot52vxn6yqmzm@sirena.org.uk> References: <1503057971-16033-1-git-send-email-arvind.yadav.cs@gmail.com> <1503057971-16033-6-git-send-email-arvind.yadav.cs@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="esgwqgbzrpcwyiii" Content-Disposition: inline In-Reply-To: <1503057971-16033-6-git-send-email-arvind.yadav.cs@gmail.com> X-Cookie: Do you like "TENDER VITTLES"? User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1067 Lines: 29 --esgwqgbzrpcwyiii Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Aug 18, 2017 at 05:36:02PM +0530, Arvind Yadav wrote: > snd_soc_dai_ops are not supposed to change at runtime. All functions > working with snd_soc_dai_ops provided by work with > const snd_soc_dai_ops. So mark the non-const structs as const. ...and this. I'll not reply to any of the others in the series but I'm guessing there'll be a bunch of others. --esgwqgbzrpcwyiii Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCAAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAlmW25EACgkQJNaLcl1U h9Bu+gf8CJUzENfA7MwWlxqkjsp3E7pAodSgUjmaX+zsEpCXqVighMyrOzJCs+yZ svqBOtNw007AC3gTw8Y2XDO3ThkoC4DXK+/2c8Uc4QiYQgpLsDS80192ioYpmnrL NDi8VD8G/md+ypWUJ6qHtp45Y0lPuuQraB7XP7a+JdtxLoVMir1Hygtg2ZqlA2Qy PpB/E8oD+o10y3AeRhSvujNFr47QqoYd5jUYPN6GrYE5cxzAj2G+gg2HKWdz0LbD tWhKMxGGFmzEAzlgrJIOvX84+WiKovfVEx2dfHsIsM3KDB9k1+ZwVTT15fGpOA0E lRbQxm3G24eLTvUxhv1sLmi/olfpog== =jNIA -----END PGP SIGNATURE----- --esgwqgbzrpcwyiii--