Received: by 10.223.176.46 with SMTP id f43csp3058615wra; Mon, 22 Jan 2018 07:47:29 -0800 (PST) X-Google-Smtp-Source: AH8x226NIVWFgHLLHIuJ9bxr1Imaedf2lw5oDDhvCJKsSULhyLLNMN0cdWDJp89+RNHT8p8A93CF X-Received: by 10.107.138.13 with SMTP id m13mr8635624iod.81.1516636049333; Mon, 22 Jan 2018 07:47:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516636049; cv=none; d=google.com; s=arc-20160816; b=F0AqcQq1MXwkvCROlfS7WxxA1s6S9ufiTKGQBTVYCIunScXaPWFQU2bVBqBf0q9EC5 xegdOV0uH64A9WZFZYBH0VHKfqy0tpW9TtvscUnsLZ3F+iiDIjujjiA+s0CfUFeMWtyQ Wj/xesb0oaaStyDh55YSKlqrWtVlV9/fqYbaw0XX2AqyaXwuEMDqpmhQZgRoxf8Mm0d8 RWVlLhNe1OqcwZ3qvXPoHhSU7XrTMK7BE7sSk2Iq9M3I5godWbj8DY3NSnEet1lTIBPE x1QJHtiLEPTLPrgKE/stZpHdccXWTK98q2Mo+trcMKNC28ZYnb8D2vIfzJIfDA8X5RNA /pNw== 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-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature :arc-authentication-results; bh=UJvd6szQEAEwY7j2zJjEMmcpEt1h4wa+4ZBwJuyLQsE=; b=SVg5DG9x1Qo9zNk61fxLfWv1YZ4lduRBQqPxKkyznHH7VWX6sYPOP1B5YcK47qcQMx aYCueVoLJJcyMK4Up9BQOXkAkXV1BUPXAirCb8XkbW/Ugj7MmA28M0gkwfzSF6ygtrko BUTlZREe5UDDPATc+ujj3NmzKl3lYetVkoDEHdNC2iJa5VgJdO5TJvxT8KbkybRQ/kiY WBnsc68pP8YtbiT6Twu4WvzAh9IGhQ6UF+oLU/ls1sZVVjyjZh43WoDkc5wAHXzf7zHK Z854lAhku0rzOTZtxzWGrtNb5VeJTnSklN2NRJGODb32XbUWRupuVF8p8EqitHtfCqxQ E06A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=gMDBphFd; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r11si6453407ioa.39.2018.01.22.07.47.16; Mon, 22 Jan 2018 07:47:29 -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=pass header.i=@linaro.org header.s=google header.b=gMDBphFd; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751191AbeAVPpl (ORCPT + 99 others); Mon, 22 Jan 2018 10:45:41 -0500 Received: from mail-wm0-f68.google.com ([74.125.82.68]:37845 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751028AbeAVPpk (ORCPT ); Mon, 22 Jan 2018 10:45:40 -0500 Received: by mail-wm0-f68.google.com with SMTP id v71so17742057wmv.2 for ; Mon, 22 Jan 2018 07:45:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=UJvd6szQEAEwY7j2zJjEMmcpEt1h4wa+4ZBwJuyLQsE=; b=gMDBphFdREV4/2FkJZVLICUWJ/phxEnj6treR2oa4hvUd8plOtKlfTQNVcu3Utxvlv wFYGKvJdcUnjVoPfyyYzzLHEsYSq6OuLCUgKaxYgiO7fEi4MmXpRQ5Tz2fPXy91hH62T mXND2OJcFgm2mO+nAxrqGxZ/cfyXfgK0F7LVo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=UJvd6szQEAEwY7j2zJjEMmcpEt1h4wa+4ZBwJuyLQsE=; b=nFhfgMZ6M5aKT26pMnO3rkyLX+N8jxqZWckw0H2rZbb4DtbYR3QsUYZSip7TE34z6e MDMezN6mD+10r1O0MzhJVZ7XeqjnKZ2+7RAohxi/mVbsGyTHugMkShYSTuNTgWElzLCg BOPoDsG4oAGDueuTdlce4oczS9MwrcifZMGAbhECP1lsXKt8DS3u0H7+JiVaml70R499 Gxvp55MCwa+ODDnGOyb2PGyVCa3452t/cwfMsv4Fb8pmTlMkruqP9VwuQY2BhPPQRJtw tobhznARzUgbXVrFDiLQ0gSegoLGNxbj/HlmEiao4zS+uQKC82n6VRhIKi7g/7lg6UBo dIng== X-Gm-Message-State: AKwxytdDwrMgzGAhQ63wJO0XgN4VBl/IYrrmeXGaPHBTGMHMBgzXAECv Zy5cgRElWLlLmzGABGgUd/kpEw== X-Received: by 10.28.88.70 with SMTP id m67mr6029685wmb.134.1516635939161; Mon, 22 Jan 2018 07:45:39 -0800 (PST) Received: from dell ([2.27.167.60]) by smtp.gmail.com with ESMTPSA id m70sm5159131wma.36.2018.01.22.07.45.38 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 22 Jan 2018 07:45:38 -0800 (PST) Date: Mon, 22 Jan 2018 15:45:36 +0000 From: Lee Jones To: SF Markus Elfring Cc: kernel-janitors@vger.kernel.org, LKML Subject: Re: [PATCH 2/2] mfd/rc5t583: Improve a size determination in rc5t583_i2c_probe() Message-ID: <20180122154536.tc45jwvlxl5gornt@dell> References: <681cd296-5d05-cdf8-f031-162d7f837b36@users.sourceforge.net> <144ca5ca-1cfd-28a7-7bf3-8f513d567abc@users.sourceforge.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <144ca5ca-1cfd-28a7-7bf3-8f513d567abc@users.sourceforge.net> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 15 Jan 2018, SF Markus Elfring wrote: > From: Markus Elfring > Date: Mon, 15 Jan 2018 14:50:25 +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 > --- > drivers/mfd/rc5t583.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied, thanks. -- Lee Jones Linaro Services Technical Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog