Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DAF89C433E0 for ; Mon, 1 Mar 2021 08:01:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 9EAC864E07 for ; Mon, 1 Mar 2021 08:01:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232674AbhCAIBl (ORCPT ); Mon, 1 Mar 2021 03:01:41 -0500 Received: from mail.kernel.org ([198.145.29.99]:45114 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232634AbhCAIBd (ORCPT ); Mon, 1 Mar 2021 03:01:33 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id F0A5764DBA; Mon, 1 Mar 2021 08:00:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1614585650; bh=+8jFax16oph9+5OHySqp7hPVBJ10uynGIp0cUjwHkeE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ueaNFEvG/hxPEifuALT2ngWnAai4Wa5HiK/r5mVsgc+VbePwzNjPjC6TOOQPRtRa3 p9Oodysx8S1rpDYlxRXPzcjXrYu9oQhSdqBH65oSdmMGkRekqJFWtmKJX3nZDqkpZu wEnbzCjSxg78gY48NYvMcmX1qd4sI31V49LnezPY= Date: Mon, 1 Mar 2021 09:00:47 +0100 From: Greg KH To: qiang.zhang@windriver.com Cc: zaitcev@redhat.com, linux-usb@vger.kernel.org Subject: Re: [PATCH] USB: usblp: Add device status detection in usblp_poll() Message-ID: References: <20210301040300.20834-1-qiang.zhang@windriver.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210301040300.20834-1-qiang.zhang@windriver.com> Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org On Mon, Mar 01, 2021 at 12:03:00PM +0800, qiang.zhang@windriver.com wrote: > From: Zqiang > > If usblp device has been disconnected, direct return > 'EPOLLHUP | EPOLLERR' in usblp_poll(). Why? What problem are you solving here? Is this fixing an older commit, if so, what one? Please provide a lot more information here, this is not very descriptive. thanks, greg k-h