From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5833CC6379D for ; Fri, 27 Nov 2020 07:41:17 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B65A722228 for ; Fri, 27 Nov 2020 07:41:16 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="N9MwxfW4" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2405357AbgK0HlA (ORCPT ); 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-Google-Smtp-Source: ABdhPJzYmp3hR6/R6UKr0zOjwi7r7aEjwuGnuLHguCPg82C0uUHpvVWTxQTdi4eHTurZXU/6s3nGuA== 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