Received: by 10.223.176.46 with SMTP id f43csp1907039wra; Thu, 25 Jan 2018 01:50:31 -0800 (PST) X-Google-Smtp-Source: AH8x227/uZwfmlx7hCkecfKJlt3tf3Oyfo8QbmyOil68gRtG3nk2bmbu/qLveW5dw3WJTb2+ASwb X-Received: by 2002:a17:902:ba95:: with SMTP id k21-v6mr1298383pls.86.1516873831350; Thu, 25 Jan 2018 01:50:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516873831; cv=none; d=google.com; s=arc-20160816; b=XduF+x8ql9XjkbP7/JvRLTeCUTMWwvdUfOoDi62DSlCWlX6GJDoIOGMcY1By68vA1N mtyDwHDelAm5ZUsQlHITPlo9Fk8PJQKhtzG7ifg3aF+3t3AuM9I6HjFoHCSk7+E13niC /vU8eO6NsA3apSaOH0CvbFkQ+gsvgKlqWtDxBW2xMg0Vf+a3PV64kOV44hSjOayVA61/ A5grPi6W7mtn2A+7q8VJfL5uwLROLd7xnyuBNLJkOZKlWuzNR1zHJp50MWPyW24Wsbqc Fa5WlcUYiGS8lYq4VvlWj0IMIdP8pCV9csXb5Yv2XejOSSHxbJeYjjUJAOFTW6vCn3JK HqQA== 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:arc-authentication-results; bh=T1JLEk/6qYT0TVSOgvxM5C9PGSPAJ2Ryjq6WCxxiS18=; b=tc7S0ofaQ5lQQcwGwuAgMV4/J6A2/3VuyzlzQ8WhHHdoMX6kZI/czTQv3uGdCmmOxU UfhS/XP+/O9ehRFoNbROyI3bv6KV+GtrXe874ks+wvSV5Qdjuqr9EcuUal+Fsv6joumX 1QQ0wjS/r/E/5Q7s6/bjoUs8dnBtp7/8Zk7DP8DLFD28n76o6kB9v78N97CkG0Ud7y28 PIV3QL//RpT56XRuTRyIyF1CJKwsLk7xovHgfU9ZC8m8lYpBU/XdVRTCuXpHZl1nc9C1 ZJb67nsoqHgvIkYxFaNmzD4nDtJDsKaiE3qDLD1lm8E9J0dSh9Qh2EIh+Ad7L6ouw/4Z 3izQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w2-v6si1719834plz.168.2018.01.25.01.50.17; Thu, 25 Jan 2018 01:50:31 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751429AbeAYJtt (ORCPT + 99 others); Thu, 25 Jan 2018 04:49:49 -0500 Received: from mx0a-001ae601.pphosted.com ([67.231.149.25]:34816 "EHLO mx0b-001ae601.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751188AbeAYJtp (ORCPT ); Thu, 25 Jan 2018 04:49:45 -0500 Received: from pps.filterd (m0077473.ppops.net [127.0.0.1]) by mx0a-001ae601.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w0P9naQH003555; Thu, 25 Jan 2018 03:49:36 -0600 Authentication-Results: ppops.net; spf=none smtp.mailfrom=ckeepax@opensource.cirrus.com Received: from mail1.cirrus.com (mail1.cirrus.com [141.131.3.20]) by mx0a-001ae601.pphosted.com with ESMTP id 2fm425pm8c-1; Thu, 25 Jan 2018 03:49:36 -0600 Received: from EX17.ad.cirrus.com (unknown [172.20.9.81]) by mail1.cirrus.com (Postfix) with ESMTP id A5EDF60D975B; Thu, 25 Jan 2018 03:49:33 -0600 (CST) Received: from imbe.wolfsonmicro.main (198.61.95.81) by EX17.ad.cirrus.com (172.20.9.81) with Microsoft SMTP Server id 14.3.301.0; Thu, 25 Jan 2018 09:49:32 +0000 Received: from localhost.localdomain (algalon.ad.cirrus.com [198.90.251.122]) by imbe.wolfsonmicro.main (8.14.4/8.14.4) with ESMTP id w0P9nWk7024416; Thu, 25 Jan 2018 09:49:32 GMT Date: Thu, 25 Jan 2018 09:49:32 +0000 From: Charles Keepax To: SF Markus Elfring CC: , , "Dmitry Torokhov" , LKML , Subject: Re: [PATCH 2/2] Input: wm831x-on: Improve a size determination in wm831x_on_probe() Message-ID: <20180125094932.5ue4aueosfehkzsn@localhost.localdomain> References: <43f052c7-c98d-7ca2-08ca-e5428b5ad575@users.sourceforge.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <43f052c7-c98d-7ca2-08ca-e5428b5ad575@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=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=414 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1801250137 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 24, 2018 at 10:22:35PM +0100, SF Markus Elfring wrote: > From: Markus Elfring > Date: Wed, 24 Jan 2018 21:58:42 +0100 > > Replace the specification of a data structure by a pointer dereference > 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