Received: by 2002:a05:6358:bb9e:b0:b9:5105:a5b4 with SMTP id df30csp4014009rwb; Tue, 6 Sep 2022 00:45:50 -0700 (PDT) X-Google-Smtp-Source: AA6agR6DdmtFuF72RbvsfJj7id4sQtzacyXAQzIR8uS5o7dBY6FscfwTd29TyDDmhcmznYY5b5Qn X-Received: by 2002:a17:907:60c7:b0:731:2be4:f72d with SMTP id hv7-20020a17090760c700b007312be4f72dmr38573839ejc.639.1662450349939; Tue, 06 Sep 2022 00:45:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662450349; cv=none; d=google.com; s=arc-20160816; b=qXHnkG8C24r7ZsnCCxykglircmrwKcOKYVI5i5wCY2aJ9Ha6Ijh1NMv6KHXrAeaBff IJw5BbfyvxgPJuFWkxuOLmC0UKR1MPlyZPGMZ/+jT1Wbf1kDhUnFwv0BHxBdC+F0dF1h V0L+imrgv/Fnm03LExoD3dRUwebDfGB4XDd1sI0I6PGnMyeIzdC5kZPadIx2UBFPOzXm M85t/TKpERu5oL0tZEYiy5A8KvtfBfuxK8LwrWzQS8qvxy86TbeeTi7Eiwr66reS/AmQ rxaE2mWnov4KIYXZh2UQna9eHe9gXNhCLe9bzs5JThDozcp8GgH4OohfKofzjIz4+hoB CNdg== 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=avxdj+M44SNA0TulwEtQWjlBDKTB1zQI08sWhSX9y/W/IFYRKrfOMnE3/s08cnCcZx h2b5R4943iL2kFN32rkOToTqFisdFRoMfiJJO6aIcFI+HchPyD1FsGLNXwBfWzVhdRVf Tudk90BzWDwcZNfWdVfzXWmA4I60TrF7KvEbMoh8el0i4vT/Uhi4UJGuTjtGmLeppCBH ABgFgrO2sYYCfTXWItDLgns80FiqmUktfsm1OQ0noA1dwnf1Og0s+SwN/47WMO6alzH7 jUaVIdO+lFHvITxXZUri+wbo2UYNpvPKyN5+E5BzpGaCIQ4xPKw+/i8E/ctmqpWNMGGJ cEMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=GYY17wlU; 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 x7-20020aa7d387000000b0044e9151d561si2818496edq.542.2022.09.06.00.45.22; Tue, 06 Sep 2022 00:45:49 -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=GYY17wlU; 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 S238792AbiIFHkT (ORCPT + 99 others); Tue, 6 Sep 2022 03:40:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34392 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233584AbiIFHj5 (ORCPT ); Tue, 6 Sep 2022 03:39:57 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C7CD623BF8 for ; Tue, 6 Sep 2022 00:39:56 -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-out1.suse.de (Postfix) with ESMTPS id 4C6DF33781; Tue, 6 Sep 2022 07:39:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1662449995; 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=GYY17wlUpqt/68A6LlOqB/y7LqrZQmHoFLnvB4AjlIJZWQoc8PTYoBYNoiaeM17TqGm0fa u3ANdMwoiLPYFqBwnktTQk/IlSplZfbTUYVGxcux+i7LH5sdUkDTOxqI0PlRK8LeT3R/5b bSgkw03tI0eFL9sGBYXGlp7VTiOJgq4= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1662449995; 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=mtok9KpQsfzTAtew8ximkHG6hThPza0m3pgX+nKNVSt2vmXYlDL+1qt7Uqo5PZm9C/cR27 M6LFPsuUF0mm5dCw== 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 24DF213A7A; Tue, 6 Sep 2022 07:39:55 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id +GRtCEv5FmPeOgAAMHmgww (envelope-from ); Tue, 06 Sep 2022 07:39:55 +0000 From: Takashi Iwai To: Thomas Zimmermann Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 05/11] drm/udl: Suppress error print for -EPROTO at URB completion Date: Tue, 6 Sep 2022 09:39:45 +0200 Message-Id: <20220906073951.2085-6-tiwai@suse.de> X-Mailer: git-send-email 2.35.3 In-Reply-To: <20220906073951.2085-1-tiwai@suse.de> References: <20220906073951.2085-1-tiwai@suse.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,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