Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp1743122rwb; Fri, 19 Aug 2022 08:40:29 -0700 (PDT) X-Google-Smtp-Source: AA6agR44Ok9kaLohSUfC+A3iOkqUeCOCKA8uLv28b52GNd02s2ymZf/Ppbnv7MmZKMzbwK3TOLQj X-Received: by 2002:a63:e511:0:b0:41d:2c8d:e9f with SMTP id r17-20020a63e511000000b0041d2c8d0e9fmr6770436pgh.404.1660923628751; Fri, 19 Aug 2022 08:40:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660923628; cv=none; d=google.com; s=arc-20160816; b=Vze0TsnoWADP8nHlfiSHweICd34t+L1+1p5zvbeIDFyHu2a0lh7Xjozd8fcKy/Fb81 284tI7yumNjEubBGWA5P2iXkaPGWHT7n07muqT1idvlCUWPwthJ01On2Zxw31pIWHWJg Up4rby47WrFVZwkkGgClMlyA7V7/ZXZ83hNh0r2uoxCMbEQD6niNBZC3MgF3DTpd1NVD MT67GnbD5LDhQQE63g5YuNrS7UInxOKfbM16YBdbtsqa0fw39oL2RgyhPY5iJSL6dJOq 1ZAUU6XRM51N69CSt3hHd69WlDpeYP4x6RUimmNBF+6IIjpSooJpmoTPImo/peYHtEgo D01Q== 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-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=pi2nf9pIZ+JzouRV9z2zudL3/oBSjAiUjREO124/PP8=; b=vzOznWENwh6iFXatQYlMO9Dgofp/qjA/mkoGtUxkDB/YCzLlwDBk3YjARhayhnhyOy G52t8p7+sLj4h+Wv1mrbe6ogGIC0c5rDQ9NGHLqvY8RyTKyNMOZyVk4xovOj1DWhRYu8 HjtMerezqC+3Mf1VfE8tMeGnxpFYOp9fXhIOwrZvT2ZNt3/stcBzDx0YeXAJKAF4AKG3 JuDYo7i/vXoqhAUjnEeqzywk16DC67PHmoq1MUNOhSeYzHUoj6vxzdbLAhem4jiB1gqY NmjETF8cLk4pNUccQvfJq50+SOrzEWAHdPmz3B8LF05ZdkxyurtEvIR4m+BPan/wkmS7 m5rg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="JA3/MYCi"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x21-20020a63b215000000b00429c80d1d0esi4640677pge.323.2022.08.19.08.40.17; Fri, 19 Aug 2022 08:40:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="JA3/MYCi"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349744AbiHSP1b (ORCPT + 99 others); Fri, 19 Aug 2022 11:27:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44998 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1349704AbiHSP12 (ORCPT ); Fri, 19 Aug 2022 11:27:28 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1BC5AFAC53; Fri, 19 Aug 2022 08:27:28 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id A0E12615B0; Fri, 19 Aug 2022 15:27:27 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id ACA5FC433C1; Fri, 19 Aug 2022 15:27:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1660922847; bh=TVSnyBkAa8N3fNZeD8W6C9YN5G3keWy7HS55wvxIhzk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=JA3/MYCi8aKQI5FCRVhTdn+ixn3NBhsnoDJTw67CciTWaHQsveUteYI5WYTGcJ1+3 DaIEBkklvSV7vaWfbjBY9ZNFfqm/w119As80OZGIa1hqGrC5tobRCQWoVFxorplNMe yn18eFS/sziqUMeMsZTqdEMdinpy7pn8uc5d5SXs= Date: Fri, 19 Aug 2022 17:27:24 +0200 From: Greg KH To: Manivannan Sadhasivam Cc: kishon@ti.com, lpieralisi@kernel.org, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, mie@igel.co.jp, kw@linux.com Subject: Re: [PATCH 3/5] tools: PCI: Fix parsing the return value of IOCTLs Message-ID: References: <20220819145018.35732-1-manivannan.sadhasivam@linaro.org> <20220819145018.35732-4-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220819145018.35732-4-manivannan.sadhasivam@linaro.org> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Aug 19, 2022 at 08:20:16PM +0530, Manivannan Sadhasivam wrote: > "pci_endpoint_test" driver now returns 0 for success and negative error > code for failure. So adapt to the change by reporting FAILURE if the > return value is < 0, and SUCCESS otherwise. > > Signed-off-by: Manivannan Sadhasivam Fixes: tag and cc: stable? thanks, greg k-h