Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp373659rwn; Thu, 8 Sep 2022 03:02:20 -0700 (PDT) X-Google-Smtp-Source: AA6agR6TTrz0MqbfJa1Z4kpNMIUxaOuiotpVJIBu6YLvW2FXqSou4EBFCjOZnp9cdTBYfpHOpegY X-Received: by 2002:aa7:c6c4:0:b0:44e:dfc0:224e with SMTP id b4-20020aa7c6c4000000b0044edfc0224emr6445736eds.115.1662631340018; Thu, 08 Sep 2022 03:02:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662631340; cv=none; d=google.com; s=arc-20160816; b=FBioq+82AmbDI8jg3sUKjdG+tp0sp1baU2n2lA6p8En+i9ZWfXdunSClhokx8j0S0V +aR2ER8RdLQNMH2bDAiOj8OTNoxPJ5HHEEqNlJCrrmnQz7CQeyE2MNwaPwg0+YVX/7cP 7s32dJXBLSVXrVoIqTMs+xtJ92myqBReCk9h1lnwZLhhmhqExIGc1vG70/KzFuZxaM3k OGuYBQw9jci0A20w9I55A3BqtEQlVinQNrS98Vcgwati6DebNz5imxe2LjVriYazKlCa TgaFi9WE5pgQtDpMhNbr/4kpmVLkj1bHHWspHV1s0CRgbKkVVApehR0FpJhapwjrbKgc LsHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:dkim-signature; bh=DvVW75pSWEXq7CYezqMwR/bNGlxupt7EmzHbZX5yzGE=; b=whFLpvNUEK/FvxZ7u/50uyJrWi52R5xe46ONKig0C+BD6zjKJ5S5oZU1T45SAeXzok mT0mLE/h8P00SVuKXwzPTDs7Wj4zRaXV/Aq/4XuowZeIeop8KFirLL3uO49LPoXVAHMW YOm7AnVsBdJcazsPP70iv6oqgbrflN6Z8UsrJerRpTZFMoIu7kYitDfh1WIBrUV2B+pZ NEEP9af65PWFVEHwwi49ipBkaaIbIHwm6OeNhpKNMeFIyN8689ZAZT6iFuedo+A3yULS TepegkpFlDfx1JyD7fnWWs0yhadn57FOfnvOAVEweW0MBQPgIBDfnyqU9dL1Y+dgBUT/ 89Yw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b="tZlgNa/5"; dkim=neutral (no key) header.i=@suse.de; 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=suse.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t18-20020a17090605d200b0073318653cb0si1549854ejt.759.2022.09.08.03.01.53; Thu, 08 Sep 2022 03:02:20 -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=@suse.de header.s=susede2_rsa header.b="tZlgNa/5"; dkim=neutral (no key) header.i=@suse.de; 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=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231383AbiIHJvr (ORCPT + 99 others); Thu, 8 Sep 2022 05:51:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48966 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231328AbiIHJvY (ORCPT ); Thu, 8 Sep 2022 05:51:24 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [IPv6:2001:67c:2178:6::1d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 74B22112E50 for ; Thu, 8 Sep 2022 02:51:21 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id B47CC1F924; Thu, 8 Sep 2022 09:51:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1662630679; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=DvVW75pSWEXq7CYezqMwR/bNGlxupt7EmzHbZX5yzGE=; b=tZlgNa/5+793+WAUczPSiaW8o09vTg8uXRMdeCGvgzZib/mcR5l2U7FLIWJG1zucJMnTog b4OnOLd38XyQ0Ph/5R87PrVmovY7LLxLcfmAYdCJI3GSHv5TkvnsqnFetmr20GAaNpoBZx AipCSvWtjJeE+MDVZmqMy0l0faK/2go= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1662630679; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=DvVW75pSWEXq7CYezqMwR/bNGlxupt7EmzHbZX5yzGE=; b=DjEv5bfYoulAwCctYVt9JMpqMwR8zndTg88cNFAZxfHWUXyuwz83/T3AGs7fY0U1AdG44n JDqoNdMVzFwIKIAw== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 7E0B813A6D; Thu, 8 Sep 2022 09:51:19 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id ILYLHhe7GWNrUgAAMHmgww (envelope-from ); Thu, 08 Sep 2022 09:51:19 +0000 From: Takashi Iwai To: Thomas Zimmermann Cc: Daniel Vetter , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 05/12] drm/udl: Suppress error print for -EPROTO at URB completion Date: Thu, 8 Sep 2022 11:51:08 +0200 Message-Id: <20220908095115.23396-6-tiwai@suse.de> X-Mailer: git-send-email 2.35.3 In-Reply-To: <20220908095115.23396-1-tiwai@suse.de> References: <20220908095115.23396-1-tiwai@suse.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 The driver may receive -EPROTO at the URB completion when the device gets disconnected, and it's a normal situation. Suppress the error print for that, too. Signed-off-by: Takashi Iwai --- drivers/gpu/drm/udl/udl_main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/udl/udl_main.c b/drivers/gpu/drm/udl/udl_main.c index a9f6b710b254..6aed6e0f669c 100644 --- a/drivers/gpu/drm/udl/udl_main.c +++ b/drivers/gpu/drm/udl/udl_main.c @@ -126,6 +126,7 @@ void udl_urb_completion(struct urb *urb) if (urb->status) { if (!(urb->status == -ENOENT || urb->status == -ECONNRESET || + urb->status == -EPROTO || urb->status == -ESHUTDOWN)) { DRM_ERROR("%s - nonzero write bulk status received: %d\n", __func__, urb->status); -- 2.35.3