Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1096618imu; Wed, 28 Nov 2018 04:40:15 -0800 (PST) X-Google-Smtp-Source: AFSGD/UskR5gmCBYSjpraW1/EPb+gbT4xczI1FT5VKHn7dfzNKX8/YzLBq+RX9rMEGwqXFovdVYJ X-Received: by 2002:a65:4049:: with SMTP id h9mr32669133pgp.304.1543408815688; Wed, 28 Nov 2018 04:40:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543408815; cv=none; d=google.com; s=arc-20160816; b=fQpCSudNepKCDBVW7v/ln4D4TRqhaEN2CGoPeJt1767MlvrKnse9lCMAkrt4m3SkFi qHyIGDiY0iZUm2Cjx/9TssiDmMcyC78o6czGTHABaoAwAgImsMGCRQnr9ku6QK5ZtXHz htePDbwQYzuxhj2EqXcqmGIO+SnTnGNyFH7XykplPcZ+VgL4oikandG758qogFGoGJrx J3MVNO9RV7vv5OCd7AsPW8sNTyU00fxVHGVCkI+5QMW1kxI3rbQh6tkMjpvcQI2/GhkB rCLd3PVcOQcfd5+DbhA8YjPKcTjywCf5wXelFzJIE3ZKxPFuSY/40QHESrdwpsk2nOol x1xg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=UrIxGUJQB6g6Rb5Lz4OeRCrjfxTsI/LtRbM1jsTcZ1I=; b=JjmcncbsxGEI1KnO2Oy3h3kJIJqVHBKrdDB6mI2eNkH60kVkIwvckFGYxTDgwVgm7w 9jJ9ffMZmfgC0ECbnuMHGY6mvgTCEWNX6n9iGrcHZE/OuOkjGf66FP9iCc6ynwzvj59o Y59nVBZCt6YMwb7ZzVWfQns3nE+tmr0ShRtiYFwo9A31BmLZ1mJDC9v1esi+aduwn5fj vOG3VfhqKwPO7EU8h4crP2V+1BemEoOGitXi1paNUobeKH/PWlWQbnv8OREwEhn8F9w8 Q1KQhziykDcHNo+V5ikF1QSpzurzzui+6szlE6wZdLz+JHuToqQvrFn8AskBwNpOTVr2 IMoA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=WZMCDSO2; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t74si6883531pgc.150.2018.11.28.04.40.01; Wed, 28 Nov 2018 04:40:15 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=WZMCDSO2; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728291AbeK1Xku (ORCPT + 99 others); Wed, 28 Nov 2018 18:40:50 -0500 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:58550 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727750AbeK1Xku (ORCPT ); Wed, 28 Nov 2018 18:40:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sirena.org.uk; s=20170815-heliosphere; h=In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=UrIxGUJQB6g6Rb5Lz4OeRCrjfxTsI/LtRbM1jsTcZ1I=; b=WZMCDSO2oHGB7XovduuYqy0xN n29MyiR9H+rTSj/T4vvGPiaGRw6pgmLbqes284o5cB1g4xFW7Dnp2BroMgxO248PAecukZ3/AV6u1 I3V6X/FzjiZrVbjiu4J/sKMRFAxR97VOnZBeBUHJuUW/iDtXYL5+6XFdqQdQILgw7V9bk=; Received: from 92.40.248.202.threembb.co.uk ([92.40.248.202] helo=finisterre.ee.mobilebroadband) by heliosphere.sirena.org.uk with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1gRz6u-0005CR-8L; Wed, 28 Nov 2018 12:38:32 +0000 Received: by finisterre.ee.mobilebroadband (Postfix, from userid 1000) id 48898440078; Wed, 28 Nov 2018 12:38:28 +0000 (GMT) Date: Wed, 28 Nov 2018 12:38:28 +0000 From: Mark Brown To: Wen Yang Cc: olivier.moysan@st.com, arnaud.pouliquen@st.com, tiwai@suse.com, mcoquelin.stm32@gmail.com, linux-kernel@vger.kernel.org, zhong.weidong@zte.com.cn, Liam Girdwood , Jaroslav Kysela , Alexandre Torgue , Julia Lawall , Wen Yang , linux-stm32@st-md-mailman.stormreply.com Subject: Re: [PATCH] Fix invalid use of sizeof in stm32_sai_add_mclk_provider() Message-ID: <20181128123828.GJ2089@sirena.org.uk> References: <20181127123520.44940-1-wen.yang99@zte.com.cn> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ndbNBr9ZfQRJt18g" Content-Disposition: inline In-Reply-To: <20181127123520.44940-1-wen.yang99@zte.com.cn> X-Cookie: No Canadian coins. User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --ndbNBr9ZfQRJt18g Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Nov 27, 2018 at 08:35:20PM +0800, Wen Yang wrote: > sizeof(mclk) is 4 or 8 as it is the size of a pointer, > but we want to reserve space for the pointed data. > This issue was detected by using the Coccinelle software. Please use subject lines matching the style for the subsystem. This makes it easier for people to identify relevant patches. --ndbNBr9ZfQRJt18g Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAlv+jEMACgkQJNaLcl1U h9C4CAf+N+daz0ORT0zdZ4t36wXYLbz8q2NQUeQKrw5FHqc9Tx1kqq6Uxz3xt+Jo r/CiC7sqvhHZJDOkGtd8NhXQe5Ua8fzVUjzHHmC+F0oiI2nGTzUpd3BH2yqsNsBV g4Eqptjo75kQryzob9e5sNYlSb29ejCTr1V/myuzbzzHS+MzDwB5oysnoZ9XWWYV JJdjOJPJkPffIFLCx0HnXC2OUdE4chbFf0N95l+4ZaqpAELCIkUDuLn2qhjF15v0 yuoR4NvxkLfGcubeCi0vFCBYF3ysfbgakOpyCUnCRMbqXD/w2Vt2IqabRCEFCjDT JzETbBwEr8qwiUEIqMV3LbUWrwpUjw== =WB9+ -----END PGP SIGNATURE----- --ndbNBr9ZfQRJt18g--