From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751436AbeAYJtt (ORCPT ); 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 Authentication-Results: ppops.net; spf=none smtp.mailfrom=ckeepax@opensource.cirrus.com 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 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