Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1161712pxu; Fri, 27 Nov 2020 00:52:43 -0800 (PST) X-Google-Smtp-Source: ABdhPJxAaV757NuxlhEj+PG+1WKmLPP3eAJmH70/05vRWwZGtxnEaqhU/ZweCO9AcdclC/+F1jpn X-Received: by 2002:a05:6402:176e:: with SMTP id da14mr6564137edb.245.1606467163131; Fri, 27 Nov 2020 00:52:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606467163; cv=none; d=google.com; s=arc-20160816; b=hM9Fn8t9rGsvTxffgaFSjcuI4mO88Onzt46J3Ab7i1ZCtDN9SVjcan3npA7NSxeU5O 4jtrFi91yo4LVBzCsyBQblZ0a/kT9pDF/mEBPDgIubA2WZlL7ocGGWbHSuerXJfw0epo 7+JGXxNue9f+7U4kLj30ngBQcD3IMYcH6wgfEnIhyMdq4FcRoek9pqrgSgV8eshG2Q5A ujJrDIMVNB7awLQ/R2R0I/4ZXGb/W/oKO2d+DHSCv1u1N93ia8GfJwC3CDD+wnpKszCB uPu6vZaag6jNiaeCK1P2IPGTLKlkSNOHwoP+CFIdr/lpWp6+0y2a2kAelwzy+VQn0aHi SJAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=ZaHES/1BM6BOfn1SHuBbK9aGo8nrVVNAKSaU8NpD5mI=; b=rM57TQtcckx6RC5GhuDrCbVqzNg9AM39WR+CecoWqsnZGEH1kWXT9LHoOyfT/Ky97/ OHoLftlj6hLqNkfXuFg8Ccc0L+XK1zSHDJzGOml8xB0ULP86fjnfW3my141ewPsTi697 LYOEX18vO/LwPO/JDcw1E0vUyEtNPRKrNoKe5YUBRiICTeypClEi90LsJNWpV5bUn4MB PrOWBxUZ14zt3LB9VUJmKKWgSIGP2Cc8Tt7leb2gu0/ifYZMYo0zeIZBAUABYHt9thxr yGBiN8gUyiS7Dg+qjoVTIl/AydJX0L+PZ4jofGC8mHvrKUE5tKh20poUYvGxK1Q7Q1xy Nobg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=N9MwxfW4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id bi25si4922787edb.487.2020.11.27.00.52.20; Fri, 27 Nov 2020 00:52:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=N9MwxfW4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S2392747AbgK0HlA (ORCPT + 99 others); Fri, 27 Nov 2020 02:41:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54844 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388182AbgK0HlA (ORCPT ); Fri, 27 Nov 2020 02:41:00 -0500 Received: from mail-wr1-x42b.google.com (mail-wr1-x42b.google.com [IPv6:2a00:1450:4864:20::42b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D7710C0613D1 for ; Thu, 26 Nov 2020 23:40:59 -0800 (PST) Received: by mail-wr1-x42b.google.com with SMTP id u12so4549987wrt.0 for ; Thu, 26 Nov 2020 23:40:59 -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; bh=ZaHES/1BM6BOfn1SHuBbK9aGo8nrVVNAKSaU8NpD5mI=; b=N9MwxfW4SL1pFXWSs6tFcopsDsyJJRLYB50IzXUXcqfIvs1En1QVo5CpOSjLigTXKE DnBKIpttGjtk/O2l+jZ2W3awZWacUI3Ww7BtlHQrn3fafrU8HAoEminoDJn2BZbdT7kQ GHIJBu/aMClGMNoRgRvtZ/FvcGAcdQH9csDehnHpXx+zEC9M4UdUyLLclchQbhTrHnsF N2+RAiC9BeH6sB0Hwg4NF4SXBPh7FAMhJY0D2hQ5LCrqeu76AINtoLhAVOORuHiC2nOo rSkYR5UW5MgOC/J/pUtMJotgxzBgAqiaJvcJuHHxlgfKrHDhyWR+cfuyLdbu0spc21oq cqVw== 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; bh=ZaHES/1BM6BOfn1SHuBbK9aGo8nrVVNAKSaU8NpD5mI=; b=QP1tRYSTLi7k61jPISdPMK0ANNJPZV1Kb0/rnN+BmzVTxu0gMSFCI0pcT54GmZnWlp ryq4kRMJoFTDIj/neDYD2efUwek8hu+BA//EyPy/zyzJsFFa2yuobDxxX9WbRWb5pW3B y6Ar9eEH9SfzLYqTzbEPhYQzyQvZyqgUPUxQsLQGkGV/L6EJIGTjEfw7hJVO0uPS05/g Cnahtl0ovDulO6CD+pIKD6zGgSjTnIB67dxYKkRRXMiQpc364BTiY5dB0tO6tZ2EJASL kftThKEdW+GsmxaNxoQlZ6t8TSfQJSdHWwOMKnppHbm0mPS/S7iIZ9730Nu9A5SA75rv rAyQ== X-Gm-Message-State: AOAM533Hoc3a2zwsbvCAFR5wWjXoeS4za2OyxVpiXK6mnWphIKExlzgo b3PKDAtbQY9ouTr2fGp5vjMM1+ezmBnRrS9U X-Received: by 2002:adf:a3d1:: with SMTP id m17mr8475409wrb.289.1606462858654; Thu, 26 Nov 2020 23:40:58 -0800 (PST) Received: from dell ([91.110.221.235]) by smtp.gmail.com with ESMTPSA id u129sm11589734wme.9.2020.11.26.23.40.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Nov 2020 23:40:58 -0800 (PST) Date: Fri, 27 Nov 2020 07:40:56 +0000 From: Lee Jones To: Zou Wei Cc: thor.thayer@linux.intel.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH -next] mfd: altera-sysmgr: Use resource_size function on resource object Message-ID: <20201127074056.GG2455276@dell> References: <1605345860-23521-1-git-send-email-zou_wei@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1605345860-23521-1-git-send-email-zou_wei@huawei.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 14 Nov 2020, Zou Wei wrote: > ./drivers/mfd/altera-sysmgr.c:155:36-39: WARNING: Suspicious code. resource_size is maybe missing with res > > Generated by: scripts/coccinelle/api/resource_size.cocci > > Signed-off-by: Zou Wei > --- > drivers/mfd/altera-sysmgr.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied, thanks. -- Lee Jones [李琼斯] Senior Technical Lead - Developer Services Linaro.org │ Open source software for Arm SoCs Follow Linaro: Facebook | Twitter | Blog