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 91AC5C07E9D for ; Sat, 24 Sep 2022 11:57:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230329AbiIXL5k (ORCPT ); Sat, 24 Sep 2022 07:57:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53646 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232263AbiIXL5i (ORCPT ); Sat, 24 Sep 2022 07:57:38 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6D4D3A2858; Sat, 24 Sep 2022 04:57:35 -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 ams.source.kernel.org (Postfix) with ESMTPS id B8DD0B80B8C; Sat, 24 Sep 2022 11:57:33 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 02697C433C1; Sat, 24 Sep 2022 11:57:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1664020652; bh=vnkNDhlyuWFuHtAtX6n8u3cxAUeHMgDdGDReB96XMRY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=rpkWcVb9I7qeW57zLdW+o+rajeAwbSUeNAp6fcfsx1UZBhvG1vegl6WE3QWv+8yGu ZWjfBLMCwUg/E3W0iljnZfT20obDk1PpUaxhQ2VONXV9gXcajylrtg9f7k92NfSJfd 1DyPpzk6pv0lYDs70ML6B6bNvW6UOOXjxzBN/DQM= Date: Sat, 24 Sep 2022 13:57:29 +0200 From: Greg Kroah-Hartman To: Andy Shevchenko Cc: Magnus Damm , linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, Rob Herring Subject: Re: [PATCH v2 1/1] serdev: Replace poll loop by readx_poll_timeout() macro Message-ID: References: <20220923171048.37386-1-andriy.shevchenko@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220923171048.37386-1-andriy.shevchenko@linux.intel.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Sep 23, 2022 at 08:10:48PM +0300, Andy Shevchenko wrote: > The readx_poll_timeout() consolidates the necessary code under > macro. Replace current code with it. > > Signed-off-by: Andy Shevchenko > --- > v2: dropped TODO: in the Subject line > include/linux/serdev.h | 14 ++++---------- > 1 file changed, 4 insertions(+), 10 deletions(-) > > diff --git a/include/linux/serdev.h b/include/linux/serdev.h > index 66f624fc618c..69d9c3188065 100644 > --- a/include/linux/serdev.h > +++ b/include/linux/serdev.h > @@ -7,9 +7,11 @@ > > #include > #include > +#include > #include > #include > #include > +#include Ick, just for USEC_PER_MSEC? That should be in units.h, not burried in a vdso-only .h file. This feels wrong, sorry. greg k-h