Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp6717499rwr; Tue, 2 May 2023 04:44:41 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7HVoM3RsRa1xwbF3r3fHsgyxio4LGaer6DUEPC59BuqhjP37pZhY08+z5jTOjqL04AnJpF X-Received: by 2002:a17:90b:1647:b0:23f:6d4e:72b3 with SMTP id il7-20020a17090b164700b0023f6d4e72b3mr16509755pjb.25.1683027880620; Tue, 02 May 2023 04:44:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683027880; cv=none; d=google.com; s=arc-20160816; b=MtBZh+Q5w2aWtCR5lAPHLDbBkJPObiDVf3mEAl9DhRga6gHh6H9o85yxHCdUOeMU25 F+uvvaqTzVxdkPobPDr05hbAIKSFQlT+JL5keb/lnKrefgmNGnWbwtW1HMn+OzUXI1pC ykXqihWVfCE9WSk3ojvSTTVMlwZx8LcJQpvbzV/es+eT4nA+G6BuSVP0n7zBH4xZIJSN fRPxyneWaj5jnb1MNLpzj/5ko4y90tR69kj4szihCcFnyeOKcdm4wUdTlhTDo7BHrYwO QozV4u7P2fW6h8nFKoruEwQAZeALwrmklizmt2a3UGvy6plQys4j7sc8a3wgQSL7joCH YpaA== 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:content-language:references:cc :to:subject:user-agent:mime-version:date:message-id:dkim-signature :dkim-signature; bh=Vg3ilmux994uQVP9pUiRzObZ/HrPSDXb/pSMeDN9tzc=; b=eZkXnA6pQQD1EGFajD1gxOF5NvSCVSk/wW2HQZHgYyHwgbiWdqyE63vj0LF9xUMqGB RGbmiOOCuOsCg7Z86bQYi7ZWYtrFw+iI/hZCYkNW9OCVU5UItAJrBhbQR+OmAql/TtHy MbhPSOqwmbJkSNLyqeQ8Ee/KUa98bhLTtE9Ly/JlVCgKliRgM24fDYn+aP8muq3ZSbTD paaswzHE8adoXCzroc46YDlyKNVRa3NzLat6OnoCOnHFv6U9bbjPGLSDJ+y1stnFNBBs TxbW0aBREB9u6ztXUZPsWMjauDr44b9hq6wTWGr1MRBt9mGPiUkH2e0rQPvyccdyABsZ QGQQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=o4EJCk1q; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b="zj9mjLa/"; 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 lp6-20020a17090b4a8600b002470e893981si11949781pjb.79.2023.05.02.04.44.28; Tue, 02 May 2023 04:44:40 -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=o4EJCk1q; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b="zj9mjLa/"; 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 S233841AbjEBLiQ (ORCPT + 99 others); Tue, 2 May 2023 07:38:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48942 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229449AbjEBLiO (ORCPT ); Tue, 2 May 2023 07:38:14 -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 5151630FD for ; Tue, 2 May 2023 04:38:13 -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 F10A61F8C8; Tue, 2 May 2023 11:38:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1683027491; 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=Vg3ilmux994uQVP9pUiRzObZ/HrPSDXb/pSMeDN9tzc=; b=o4EJCk1q0u1bWlfg731xVCwjyfZU+CEeZxg5LDxKe3URHTbMeJRyh05/S6uUGsPj3pfuKI L8GFcPMkjUhY+sGBsS7+feuXi3ysavtXYL8ZEtOzz9zn/W5azrSd/A7NPmbkZFqUhp14Ya ahuATm9SwT2MV6vYoxc7WApjkWRwafA= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1683027491; 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=Vg3ilmux994uQVP9pUiRzObZ/HrPSDXb/pSMeDN9tzc=; b=zj9mjLa/R7sxWKN/y13cb3UZp6TvyNdWJVRG20WI4M1XdoYFtC6dh8ArO4M56FnefJlm/N hlfEtz7h6Jy1vWAQ== 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 C96DE139C3; Tue, 2 May 2023 11:38:11 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id zt0VMCP2UGSlHQAAMHmgww (envelope-from ); Tue, 02 May 2023 11:38:11 +0000 Message-ID: <542af717-b889-3eea-a819-1d2a2cf4729d@suse.de> Date: Tue, 2 May 2023 13:38:11 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: drivers/gpu/drm/udl/udl_main.c:259 udl_get_urb_locked() warn: can 'unode' even be NULL? To: Dan Carpenter , oe-kbuild@lists.linux.dev, Takashi Iwai Cc: lkp@intel.com, oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org References: Content-Language: en-US From: Thomas Zimmermann In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------EVSzAhBkd5taqjK4Ui02i7ws" X-Spam-Status: No, score=-5.8 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) --------------EVSzAhBkd5taqjK4Ui02i7ws Content-Type: multipart/mixed; boundary="------------L0ZJUilhUfPmvz3bTtxyvRw7"; protected-headers="v1" From: Thomas Zimmermann To: Dan Carpenter , oe-kbuild@lists.linux.dev, Takashi Iwai Cc: lkp@intel.com, oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org Message-ID: <542af717-b889-3eea-a819-1d2a2cf4729d@suse.de> Subject: Re: drivers/gpu/drm/udl/udl_main.c:259 udl_get_urb_locked() warn: can 'unode' even be NULL? References: In-Reply-To: --------------L0ZJUilhUfPmvz3bTtxyvRw7 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64 SGkNCg0KQW0gMDIuMDUuMjMgdW0gMTM6MTkgc2NocmllYiBEYW4gQ2FycGVudGVyOg0KPiB0 cmVlOiAgIGh0dHBzOi8vZ2l0Lmtlcm5lbC5vcmcvcHViL3NjbS9saW51eC9rZXJuZWwvZ2l0 L3RvcnZhbGRzL2xpbnV4LmdpdCBtYXN0ZXINCj4gaGVhZDogICAyY2FlZWI5ZDRhMWJjY2Q5 MjNiNzkxODQyN2Y5ZTllZjcxNTFkZGQ4DQo+IGNvbW1pdDogYzVjMzU0YTNhNDcyODA0NWUx MzQyMTY2Mzk0YzYxNWQ3NWQ0NTM3NyBkcm0vdWRsOiBGaXggaW5jb25zaXN0ZW50IHVyYnMu Y291bnQgdmFsdWUgZHVyaW5nIHVkbF9mcmVlX3VyYl9saXN0KCkNCj4gY29uZmlnOiBwYXJp c2MtcmFuZGNvbmZpZy1tMDMxLTIwMjMwNDIxIChodHRwczovL2Rvd25sb2FkLjAxLm9yZy8w ZGF5LWNpL2FyY2hpdmUvMjAyMzA0MjMvMjAyMzA0MjMwODAxLm5jb0cxWERyLWxrcEBpbnRl bC5jb20vY29uZmlnKQ0KPiBjb21waWxlcjogaHBwYS1saW51eC1nY2MgKEdDQykgMTIuMS4w DQo+IA0KPiBJZiB5b3UgZml4IHRoZSBpc3N1ZSwga2luZGx5IGFkZCBmb2xsb3dpbmcgdGFn IHdoZXJlIGFwcGxpY2FibGUNCj4gfCBSZXBvcnRlZC1ieToga2VybmVsIHRlc3Qgcm9ib3Qg PGxrcEBpbnRlbC5jb20+DQo+IHwgUmVwb3J0ZWQtYnk6IERhbiBDYXJwZW50ZXIgPGVycm9y MjdAZ21haWwuY29tPg0KPiB8IExpbms6IGh0dHBzOi8vbG9yZS5rZXJuZWwub3JnL3IvMjAy MzA0MjMwODAxLm5jb0cxWERyLWxrcEBpbnRlbC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CAgfQ0KPiANCg0KLS0gDQpUaG9tYXMgWmltbWVy bWFubg0KR3JhcGhpY3MgRHJpdmVyIERldmVsb3Blcg0KU1VTRSBTb2Z0d2FyZSBTb2x1dGlv bnMgR2VybWFueSBHbWJIDQpGcmFua2Vuc3RyYXNzZSAxNDYsIDkwNDYxIE51ZXJuYmVyZywg R2VybWFueQ0KR0Y6IEl2byBUb3RldiwgQW5kcmV3IE15ZXJzLCBBbmRyZXcgTWNEb25hbGQs IEJvdWRpZW4gTW9lcm1hbg0KSFJCIDM2ODA5IChBRyBOdWVybmJlcmcpDQo= --------------L0ZJUilhUfPmvz3bTtxyvRw7-- --------------EVSzAhBkd5taqjK4Ui02i7ws 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+AFAmRQ9iMFAwAAAAAACgkQlh/E3EQov+BZ Kw/+MKTIkoOnL3OGqLTHGtklPiFCd25GTVcQa1MdcasSqjkK5i+WxkH7qW/bL5CfXCNnsSV1MR1J H6swsguBFJyKmogNfa+XH8G+WHfP1T3NO9n69HqmNCvXK8olA4MSiPSSQrAw+J4t42jbHmTGU01k kqZOdnb/7kAjFNoXqbu6tWPXigMmgu38ASysoeRJSpG1Ls0ufrVOeIv39qj/Ll2COVICQFJRz3Wf YnFw2eO2ofpMlJrb6KDc+GfrssGfqjfjolH8L6F9LWW0InIBTB/pEWU2EzaqPf8bqND8cqSaB1e+ KR9sXqRCFzOKzaUQv4TONUwIobXd1rAd2oomjkF80Se4PctCbsx4hR/5/zAkR3Zbq55sgVkUnPiw /viZa47grKX4kRX1m/m3KAuvrhAq2u1pEg3/bzhUSWGcEHbYJa+xBws1VRK9EcyB80jA6awgRcUv QciFIqjrJm1OzgUvLDOiTXw8Qiq+/vqf6+a3FRNvb6Dwa64QIT9qulYmHp+h8Igvga9M79MYvXzx Lz/gYiKtyIf6yaaoZVJ3OmaA8HDUIH901nYU2QVsc7Xxk/2ALF+dCjQ5r9BJ0j+llgVxuk5nqzs4 NsV4fgnFxkoFa/YCPjpd9+dikeNf6Nd4agLlVRZMFajYAa8nAVcIGf309KWE5RsYNP7r4d58os6L UM4= =fmiS -----END PGP SIGNATURE----- --------------EVSzAhBkd5taqjK4Ui02i7ws--