From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by gabe.freedesktop.org (Postfix) with ESMTPS id EC1EA10E5A7 for ; Tue, 15 Feb 2022 22:29:03 +0000 (UTC) Date: Tue, 15 Feb 2022 14:29:01 -0800 Message-ID: <87mtirdas2.wl-ashutosh.dixit@intel.com> From: "Dixit, Ashutosh" In-Reply-To: <20220215141053.27928-2-anshuman.gupta@intel.com> References: <20220215141053.27928-1-anshuman.gupta@intel.com> <20220215141053.27928-2-anshuman.gupta@intel.com> MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII Subject: Re: [igt-dev] [PATCH i-g-t v2 1/2] lib: Add silent __igt_i915_driver_unload List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" To: Anshuman Gupta Cc: igt-dev@lists.freedesktop.org, chris.p.wilson@intel.com List-ID: On Tue, 15 Feb 2022 06:10:52 -0800, Anshuman Gupta wrote: > > Add silent __igt_i915_driver_unload(), which will not > print any warning in case of passed argument is NULL. > This will be used by some igt test, which marks i915 > module busy and expect i915 module unload to fail. > These tests requires a silent lib function to unload > the i915 module correctly. Reviewed-by: Ashutosh Dixit > v2: > - Change commit log. [Ashutosh] > - Change whom to who. [Ashutosh] > - When aux audule unload fails mark who with module name. [Ashutosh] > - Keep same type of return type in > __igt_i915_driver_unload(). [Ashutosh] > > Cc: Chris Wilson > Signed-off-by: Anshuman Gupta