Received: by 2002:a05:6358:bb9e:b0:b9:5105:a5b4 with SMTP id df30csp2798639rwb; Mon, 5 Sep 2022 01:25:24 -0700 (PDT) X-Google-Smtp-Source: AA6agR4tzurG5LJa5r83MbVCGjFHWlnskfVNrliosws7vY0iB/+ZkrNm5bRintb2QaR5PgkwgNbk X-Received: by 2002:a17:907:760b:b0:73d:b5bc:feb6 with SMTP id jx11-20020a170907760b00b0073db5bcfeb6mr35067819ejc.407.1662366324337; Mon, 05 Sep 2022 01:25:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662366324; cv=none; d=google.com; s=arc-20160816; b=ghS4mh3WzDqCNUx2z1aYXMzLAU7FqEML8vteVgyj90q0zgAipb/WsR1HiM2Y7UwUEB td5277AywH04hyJH8etC6Syiu3sRUEj2hW8I3TPa2FjuKu+viBlmqJen3OnxB4Yj2e8k wuVpS/rGWuMhEegdjO5HnNzBmCWmNivrKTeCBwy3nw8Q6wA6CdQ9zMhBkaSswDjtzvX8 xK3O84ClDCLCOkpBro0ELPMfQiHXE5SokIdDZzzZNoE9VCmYNA1JM6qVkcMj16aKex7e Im7mTW2qTp8AC64BUCN3c+BxopEDnkKvgb53l73dADd22voAiYNrJKVpFdLgqIgKtXQo 9OuQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :dkim-signature:dkim-signature; bh=/5hSJMyKVQK2uJfNaEGkm0zGdqWR5G0A/y2dmAYpPyk=; b=rA5os+qvv8JjfLPMskhRJiHxbatTEmWeyl/djtCSo9RDTWl5eZgObq41uZuoxV9OLY HEzWbprTBpYA8eEZ/sTUX66Nw8ezmx4sq5HUvpUR1Eu9RFVB3dXRGN3gtJER32GdErc1 4VMpDrA9VEgr8D3W3m7yTj+UjndykIp0AbbKo83LuGx0NrpaR72f9oTjeBd6dX9RuJ5g 0JyAq8tSL5sJ4t2MAXX4GQrR7a0QEa4+GB4BrWI4A9nNWTqh94E8wGy487bgOjdH6hXU aOdplub4eW4alaHg4KNGRTkZlcx41Q4/9PS198bFQEfg3TX7Tt+5URWobR3nkSW6uLmt W6hA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=jXQ6MM47; 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 y20-20020aa7ce94000000b00447fc23b420si1440278edv.165.2022.09.05.01.24.59; Mon, 05 Sep 2022 01:25:24 -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=jXQ6MM47; 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 S237403AbiIEIQz (ORCPT + 99 others); Mon, 5 Sep 2022 04:16:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33068 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237215AbiIEIQZ (ORCPT ); Mon, 5 Sep 2022 04:16:25 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6046730F7A for ; Mon, 5 Sep 2022 01:16:22 -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 C99EB38537; Mon, 5 Sep 2022 08:16:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1662365780; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=/5hSJMyKVQK2uJfNaEGkm0zGdqWR5G0A/y2dmAYpPyk=; b=jXQ6MM47HXSy0pqC8Hb2bHy994deUhCywSWmzedZ2ggsLDpsi66YcRQEDr0uvypUJ9EDnN p+1TFrEAU/bJ8lg0Hd6kWpDH5FS932MUc7RkKaMzCAS6Sa3O8Ab3IuCfyZROYZUKHSt0Qb epe8zUbhI2PudUPIUMS8hoNZ06ZEraM= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1662365780; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=/5hSJMyKVQK2uJfNaEGkm0zGdqWR5G0A/y2dmAYpPyk=; b=uAKOmLx/b/t2X8tR4IzGWosKqQj20R0305uJysBmVSoU8sjUMfzhsKiq5S4zQY2DSsvA5b PohNlRumqBPXjhAQ== 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 AA55B13A66; Mon, 5 Sep 2022 08:16:20 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id TMGOKFSwFWNNBgAAMHmgww (envelope-from ); Mon, 05 Sep 2022 08:16:20 +0000 Message-ID: <2a30fbbd-07bf-65e4-f72c-fe3d3d93b7be@suse.de> Date: Mon, 5 Sep 2022 10:16:20 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.0 Subject: Re: [PATCH 09/12] drm/udl: Fix potential URB leaks Content-Language: en-US To: Takashi Iwai Cc: linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org References: <20220816153655.27526-1-tiwai@suse.de> <20220816153655.27526-10-tiwai@suse.de> From: Thomas Zimmermann In-Reply-To: <20220816153655.27526-10-tiwai@suse.de> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------0Y0LpqhWM2FCLoynCZh05PFr" X-Spam-Status: No, score=-6.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,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 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------0Y0LpqhWM2FCLoynCZh05PFr Content-Type: multipart/mixed; boundary="------------JCAUSmpW00bF7EX6zkVvC34x"; protected-headers="v1" From: Thomas Zimmermann To: Takashi Iwai Cc: linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org Message-ID: <2a30fbbd-07bf-65e4-f72c-fe3d3d93b7be@suse.de> Subject: Re: [PATCH 09/12] drm/udl: Fix potential URB leaks References: <20220816153655.27526-1-tiwai@suse.de> <20220816153655.27526-10-tiwai@suse.de> In-Reply-To: <20220816153655.27526-10-tiwai@suse.de> --------------JCAUS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ZGwvdWRsX3RyYW5zZmVyLmMNCj4gQEAgLTE4MCw4ICsx ODAsMTEgQEAgaW50IHVkbF9yZW5kZXJfaGxpbmUoc3RydWN0IGRybV9kZXZpY2UgKmRldiwg aW50IGxvZ19icHAsIHN0cnVjdCB1cmIgKip1cmJfcHRyLA0KPiAgIAl1OCAqY21kID0gKnVy Yl9idWZfcHRyOw0KPiAgIAl1OCAqY21kX2VuZCA9ICh1OCAqKSB1cmItPnRyYW5zZmVyX2J1 ZmZlciArIHVyYi0+dHJhbnNmZXJfYnVmZmVyX2xlbmd0aDsNCj4gICANCj4gLQlpZiAoV0FS Tl9PTighKGxvZ19icHAgPT0gMSB8fCBsb2dfYnBwID09IDIpKSkNCj4gKwlpZiAoV0FSTl9P TighKGxvZ19icHAgPT0gMSB8fCBsb2dfYnBwID09IDIpKSkgew0KPiArCQkvKiBuZWVkIHRv IGZpbmlzaCBVUkIgYXQgZXJyb3IgZnJvbSB0aGlzIGZ1bmN0aW9uICovDQo+ICsJCXVkbF91 cmJfY29tcGxldGlvbih1cmIpOw0KPiAgIAkJcmV0dXJuIC1FSU5WQUw7DQo+ICsJfQ0KPiAg IA0KPiAgIAlsaW5lX3N0YXJ0ID0gKHU4ICopIChmcm9udCArIGJ5dGVfb2Zmc2V0KTsNCj4g ICAJbmV4dF9waXhlbCA9IGxpbmVfc3RhcnQ7DQoNCi0tIA0KVGhvbWFzIFppbW1lcm1hbm4N CkdyYXBoaWNzIERyaXZlciBEZXZlbG9wZXINClNVU0UgU29mdHdhcmUgU29sdXRpb25zIEdl cm1hbnkgR21iSA0KTWF4ZmVsZHN0ci4gNSwgOTA0MDkgTsO8cm5iZXJnLCBHZXJtYW55DQoo SFJCIDM2ODA5LCBBRyBOw7xybmJlcmcpDQpHZXNjaMOkZnRzZsO8aHJlcjogSXZvIFRvdGV2 DQo= --------------JCAUSmpW00bF7EX6zkVvC34x-- --------------0Y0LpqhWM2FCLoynCZh05PFr Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsF5BAABCAAjFiEExndm/fpuMUdwYFFolh/E3EQov+AFAmMVsFQFAwAAAAAACgkQlh/E3EQov+Cl wBAA0JoYWawoe1eud2RC4n+4c947cO0yQJiqeJPcHg9GitRyCUetM92N6ZPQTCOwE/QPGj6+CvzZ 5dLUWY4jShTpTcTHfuTMwg240CRM8ZG4wfuhtQP4THmu92Han7GBkZtV9FdbV/lCnonqP2ypHzaI QIz+7/uQi6x7dU0yjZSUmHp0jg2bB2qapv/lUtLWhkPQLRlRd7QU2RGf/h+ukfFw+cedwYUXxq4n iA+NYAZRe/DHoFLWKswZ97qKs79/+v1i0qj1dY4cqaV7mQDjcuoWjwz+aPbHMr3rpyRJTDy5isQM r/ePk3tkDHYwC4wJpTnrEPP2lZlxSEqaUmVLxubw091Bz5MqW8CzNWhifMUxz1HPjGCpElNwx21y Q22BSFg+/qji3HMJm+7xCNITfkr0InlR6a/sf88wJpgBUIWqBP383xKHYikIjcD33oNGK920aHKy M/l1Xu5jEfeaLA6P7r3ZNx9lIpvE3kS+ZQkm/mGkF3LAeyp3FOXQ71hk/V9sm7EXIGUWfSJWymG3 kgrfC9QOSIqCLyk1z/NJpKufRXVDhCxz4XfjNvVy+/ro/S8R6ouk8txQA3wbNhj9oluSvmTIwj6R zMIl+sxJk7MW+GSxb56texDj8HU+gQR7AHi4PdFH7vkfvCgduP44A9NZfzzcqoEdKOAlpUR3/AC0 CIA= =ihOU -----END PGP SIGNATURE----- --------------0Y0LpqhWM2FCLoynCZh05PFr--