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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1FB2DC83F15 for ; Wed, 30 Aug 2023 04:45:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233034AbjH3Eom (ORCPT ); Wed, 30 Aug 2023 00:44:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41474 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240449AbjH3Eo2 (ORCPT ); Wed, 30 Aug 2023 00:44:28 -0400 Received: from mail-qk1-f182.google.com (mail-qk1-f182.google.com [209.85.222.182]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C267A1B3 for ; Tue, 29 Aug 2023 21:44:25 -0700 (PDT) Received: by mail-qk1-f182.google.com with SMTP id af79cd13be357-76e09202322so324676385a.3 for ; Tue, 29 Aug 2023 21:44:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693370665; x=1693975465; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=v3hO9NOFaz/1mUBeECqnfoQUWjNCzDx/SB1xB5XpDqc=; b=a0DZtmpEoWeKTiC9JuLWrTsszJdtIXVfRs8kqxC5mMio2tz7Fi4ho4hH+ZXh3QSDZf DVqX2Hz2X7KxXwbzzIhJCzYf+8n8UQgKajBFrF1U47XxAWm3q9hOUsyrfPh0tXfFl7NM PwM3DMBdKc6SpMSIYdPkfmt8liwWv0ltz6+vnatU59lABZbRTsZx2PW1TVL8D2oSxsvN TU3eJpbsbnuemaz411EowTNtb59HmXkk1Vm59sOpNdrJbtk3ocOWSXdKTsbsWupK0fJo Kn9Qo065YrqL0R8Pqtr9x1/Tanap2BfjV4yCX8MDtl7+ztho5hiwlfzS1ZWcB3Mm+pEm vB2g== X-Gm-Message-State: AOJu0Yx/NwVobGOw61/sNqClSygSffX68gztsvLC8ifFjf0tktdLtX0R wCOIgSiNp2v3cd9iX8CX8wc= X-Google-Smtp-Source: AGHT+IHRQJ40E3xfgns+BhGtEhkr6haCnVY+CvPApxZtB8G9lTgAAUEkhqDqGjGI0dE0BPDe0PVSSA== X-Received: by 2002:a05:620a:2801:b0:76d:bc1b:c491 with SMTP id f1-20020a05620a280100b0076dbc1bc491mr1412852qkp.14.1693370664875; Tue, 29 Aug 2023 21:44:24 -0700 (PDT) Received: from localhost (fpd11144dd.ap.nuro.jp. [209.17.68.221]) by smtp.gmail.com with ESMTPSA id c2-20020a639602000000b0056c52d25771sm9621090pge.69.2023.08.29.21.44.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Aug 2023 21:44:24 -0700 (PDT) Date: Wed, 30 Aug 2023 13:44:22 +0900 From: Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= To: Ruan Jinjie Cc: linux-pci@vger.kernel.org, Lorenzo Pieralisi , Manivannan Sadhasivam , Kishon Vijay Abraham I , Bjorn Helgaas Subject: Re: [PATCH -next] PCI: endpoint: Use helper function IS_ERR_OR_NULL() Message-ID: <20230830044422.GA3282224@rocinante> References: <20230817070932.341667-1-ruanjinjie@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230817070932.341667-1-ruanjinjie@huawei.com> Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org Hello, > Use IS_ERR_OR_NULL() instead of open-coding it > to simplify the code. Applied to endpoint, thank you! [1/1] PCI: endpoint: Use IS_ERR_OR_NULL() helper function https://git.kernel.org/pci/pci/c/6f6a75878e64 Krzysztof