From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753427AbdKXKLg (ORCPT ); Fri, 24 Nov 2017 05:11:36 -0500 Received: from mx0b-001ae601.pphosted.com ([67.231.152.168]:57862 "EHLO mx0b-001ae601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753333AbdKXKLe (ORCPT ); Fri, 24 Nov 2017 05:11:34 -0500 Authentication-Results: ppops.net; spf=none smtp.mailfrom=ckeepax@opensource.cirrus.com Date: Fri, 24 Nov 2017 10:10:43 +0000 From: Charles Keepax To: SF Markus Elfring CC: , , "Jaroslav Kysela" , Liam Girdwood , Linus Walleij , Mark Brown , Takashi Iwai , , LKML Subject: Re: [alsa-devel] [PATCH 2/2] ASoC: wm8903: Improve two size determinations in wm8903_i2c_probe() Message-ID: <20171124101043.mtsf6rcza3b4eews@localhost.localdomain> References: <013d9ad7-a8ff-6fad-ba82-40e68cf0a601@users.sourceforge.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <013d9ad7-a8ff-6fad-ba82-40e68cf0a601@users.sourceforge.net> User-Agent: NeoMutt/20170113 (1.7.2) X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=2 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1709140000 definitions=main-1711240138 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Nov 24, 2017 at 10:55:31AM +0100, SF Markus Elfring wrote: > From: Markus Elfring > Date: Fri, 24 Nov 2017 10:40:43 +0100 > > Replace the specification of two data structures by pointer dereferences > as the parameter for the operator "sizeof" to make the corresponding size > determination a bit safer according to the Linux coding style convention. > > This issue was detected by using the Coccinelle software. > > Signed-off-by: Markus Elfring > --- Acked-by: Charles Keepax Thanks, Charles