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=-3.5 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no 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 DBD41C433FE for ; Thu, 10 Dec 2020 15:43:05 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3DAC323770 for ; Thu, 10 Dec 2020 15:43:04 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3DAC323770 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linuxfoundation.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Received: from bilbo.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 4CsJ8h6CgZzDr0w for ; Fri, 11 Dec 2020 02:43:00 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=linuxfoundation.org (client-ip=198.145.29.99; helo=mail.kernel.org; envelope-from=gregkh@linuxfoundation.org; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=linuxfoundation.org Authentication-Results: lists.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=jzuzGeJw; dkim-atps=neutral Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4CsGvk5q1nzDqFY for ; Fri, 11 Dec 2020 01:46:42 +1100 (AEDT) Date: Thu, 10 Dec 2020 15:47:52 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1607611598; bh=8roGAcaqdWV7Cx09/qYtV5EtfHdEnYqtywgHdVmgwQk=; h=From:To:Cc:Subject:References:In-Reply-To:From; b=jzuzGeJwxxrfyurgYKXmQEv0RmrKj0q3aVAr8MampgupErIRCWrDwttbbsyj8Irne 3NM4NP5OQ3eYqUzIj21UyFrikfMa9m70g19KwKQQ1rMk4RXUZlXScLznpcDZNiMOdA PnzoAkjWVN0o1SUe5Zxd/6FVF56Hs6xskQfgt6lU= From: Greg Kroah-Hartman To: Markus Elfring Subject: Re: [PATCH] cxl: Reduce scope =?utf-8?Q?fo?= =?utf-8?B?ciB0aGUgdmFyaWFibGUg4oCcbW3igJ0=?= in cxllib_get_PE_attributes() Message-ID: References: <5cee2b25-71e0-15aa-fba6-12211b8308aa@web.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <5cee2b25-71e0-15aa-fba6-12211b8308aa@web.de> X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Andrew Donnellan , Arnd Bergmann , kernel-janitors@vger.kernel.org, LKML , Frederic Barrat , linuxppc-dev@lists.ozlabs.org Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" On Thu, Dec 10, 2020 at 03:35:38PM +0100, Markus Elfring wrote: > From: Markus Elfring > Date: Thu, 10 Dec 2020 14:14:07 +0100 > > A local variable was used only within an if branch. > Thus move the definition for the variable “mm” into the corresponding > code block. You did nothing here except add a checkpatch warning :( dropped. greg k-h