Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp18367882ybl; Fri, 3 Jan 2020 00:35:33 -0800 (PST) X-Google-Smtp-Source: APXvYqykZP9C1E7Zx7me/FvhAxdNx/n+h0MzAvDZ4d/LX0YfnwrRpObYSCq4BHtoITWLE7dy8BUX X-Received: by 2002:a9d:53c2:: with SMTP id i2mr91889034oth.43.1578040532913; Fri, 03 Jan 2020 00:35:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578040532; cv=none; d=google.com; s=arc-20160816; b=qrCEttB282Xzcj+233xtvwMryIgp4HPz+uEo2+pXwvnC2tv5QawdYaWK9HN0xHex+p CFnuDlIHCivnchD++XBalEu+iSWXUtBRZyATHjQMHqFUFllJx5eQ/lrnk+GsURaF5kBQ MCA/3s7iu/KQb4S31MWpbGNZuPaPVnnWpI+ODIgR7XkKImOxAnEpxxltiWE1+qc5WuIH fKhTACWbGTwX+N36spDzNlpDbWx9LwTxCnSBUo9UK3xbEPZAXNsL/pl4lgOjiapD7Xlu 7CTCw/coA6f3hOskS0L7GeEI0a/LJQgkSkj21FaV2AYJcH4Gd1x8NviEZTci2t2RDzQi 1Q0Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=PpGpYjIrt0MRIp/loSAwGrpq4ElIqz+CYiQ4RfLI1ao=; b=R7gJmdmuJHSQvjx4JXv2YZ4nCuZwqwDM161VXa78fXf1Tkqm4aEJ90s30y99k54NXf O93j/CCMJQVdi6O4mMbeWcHMkd3T86j0AwhaNqLC9prEDT50IWrk2yJAV6zO4u7MKeQt aTJe7sB+S618dBjqff01Pmpv/PKCPLOWn/2qW/mlhM7n+QkPwur+aCMyCrfVUwxhs9/E JVR+33uW76rBzd4XYnumNV8lS/SxNJZNCu6Gs86TjtIGCh7mlkUYtDNkM+h013vFvfTC Gam17eBZWZW1JRE2z1CnUQcQv8q1ya63TtjX7alvlghFbLr3enSKUw8HaOaJugiQxOW7 d3nA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="bQ7GddN/"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l7si31393798oth.11.2020.01.03.00.35.20; Fri, 03 Jan 2020 00:35:32 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="bQ7GddN/"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726528AbgACIdm (ORCPT + 99 others); Fri, 3 Jan 2020 03:33:42 -0500 Received: from mail.kernel.org ([198.145.29.99]:39302 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725972AbgACIdl (ORCPT ); Fri, 3 Jan 2020 03:33:41 -0500 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id B284C20866; Fri, 3 Jan 2020 08:33:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1578040421; bh=rMSSUVmSOtKzyQpR+gRV2i4UIL+9avgFuwUKV2Xs8wk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=bQ7GddN/cGHTbzSN7EBHiIV+/UuFa8BXxHH7NWiktmcSnhEqJt5h6a5o2IaKDO5MU yLIXr10yrbxJqexDu4MdmODvOfMHhvUfBltI7jH2FfDqhh0jv+o/9Ox46MHmDmFRZQ ORQDXQb79RIML2cIASavbKrH5UBcPblkMU10jnjQ= Date: Fri, 3 Jan 2020 09:33:39 +0100 From: "gregkh@linuxfoundation.org" To: Chester Lin Cc: "rjw@rjwysocki.net" , "lenb@kernel.org" , "robert.moore@intel.com" , "erik.schmauss@intel.com" , "linux-acpi@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Joey Lee , "mhocko@kernel.org" Subject: Re: [RFC PATCH v2 2/3] ACPI / hotplug: Eject status trace and auto-remove approach Message-ID: <20200103083339.GA831558@kroah.com> References: <20200103043926.31507-1-clin@suse.com> <20200103043926.31507-3-clin@suse.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200103043926.31507-3-clin@suse.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jan 03, 2020 at 04:40:13AM +0000, Chester Lin wrote: > + eject_node = (struct eject_data *)adev->eject_stat; No need for this cast. You do that all over this patch, it can be removed everywhere. thanks, greg k-h