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 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DFB5AC433FE for ; Tue, 26 Oct 2021 17:13:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A768260F9D for ; Tue, 26 Oct 2021 17:13:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236466AbhJZRPm (ORCPT ); Tue, 26 Oct 2021 13:15:42 -0400 Received: from mail.kernel.org ([198.145.29.99]:56156 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230160AbhJZRPh (ORCPT ); Tue, 26 Oct 2021 13:15:37 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id AF09B60F92; Tue, 26 Oct 2021 17:13:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1635268393; bh=nOCVu678W4dA/ITLKp2dEO7RE6qj6Rq765OYOa2ByWA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=OHOBV0ubE/WHGQLuaK+VT6+Lm0Gji3nam0KnzOwMUvfRgIj4zp2r+eDwk/l6lM8V+ YDUioDDPT0CGic+rhZyMz3eHGDrXhXDcTeukMPEbxCHEwuHhaG2eO3qNQcYO5K2lwq /omDfKhyLONueRhvFmHVAqmgGPi9GVyK0rZ7zNpo= Date: Tue, 26 Oct 2021 19:13:11 +0200 From: Greg Kroah-Hartman To: "Rafael J. Wysocki" Cc: Andy Shevchenko , Heikki Krogerus , ACPI Devel Maling List , Linux Kernel Mailing List , Sakari Ailus , YE Chengfeng Subject: Re: [PATCH v1 1/1] device property: Drop redundant NULL checks Message-ID: References: <20211026162954.89811-1-andriy.shevchenko@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Oct 26, 2021 at 06:52:39PM +0200, Rafael J. Wysocki wrote: > On Tue, Oct 26, 2021 at 6:30 PM Andy Shevchenko > wrote: > > > > In cases when functions are called via fwnode operations, > > we already know that this is software node we are dealing > > with, hence no need to check if it's NULL, it can't be, > > > > Reported-by: YE Chengfeng > > Signed-off-by: Andy Shevchenko > > Reviewed-by: Rafael J. Wysocki > > or please let me know if I need to pick this up. I can take it, thanks! greg k-h