Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp15819321rwd; Mon, 26 Jun 2023 01:35:05 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4fOjk+kKOPfNwwo5QHAsRE+EBS7YN9VA/+HEKkm13RTaavkpTE96N8lqOOzVwNeOZ4s11I X-Received: by 2002:aa7:da07:0:b0:51d:8a7b:10d5 with SMTP id r7-20020aa7da07000000b0051d8a7b10d5mr3135650eds.4.1687768505555; Mon, 26 Jun 2023 01:35:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687768505; cv=none; d=google.com; s=arc-20160816; b=jr6c32kFB8WJKcQH3ucrqw6V9a/ejxl2vezXv1rpe68Qr9CjmymJHnFzbLXAluMhzr HC0qwno9Ptb1eamKJJRJRpfPo/b0WnLQt791QHKzJ8aYDb3CADANGMGtI/lTR9vOdgEH yskWI47PoSv8eCVgp4ITybwci1RElk29dUcbsLTGablI1gkuwdSiTa9FHIAJ4unnsOQS Hsx+RayNnv6RBgNC/5/a8KXOeCyx0mQC6O62nsApCsHZpb7cRL1MYUcVXHbQn9yVeYsM /9LDuXyLtGp3oL71F+cFORn5s0pD1SgZhqkGybls6DqAV5adCQ2jkbyPrGayWmzV9k8t wJXg== 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=cDyM1flrXkR51Vf/TmGF98r9fylMMFk3WQKH8XYc9r4=; fh=/JUdXl10gEAXK9SFeobN1pE+IoZbZyHMzhBViLGwb7U=; b=nzV90ulY7PD9u8RLg15xhwMAyVfonqrSW6cVkwEiKh5qGEnJHfsranCt8gTYS52TAR d1zl4UiQAJQuWJJ+nkCimJ/P3r7Cf5BvbnILc/rcNHLm/14+p5/Jqjan8DX0sMdWhyzf 6pXRc4yObC9G+dutwlz1kOS0SgAh2RcUt+atAa1ZWYmv5dfmURk4NPPKRytdkZxsBwqN uv2l+rZHSnJIXFMRzIFt1I4OKA2annJsi0Qf2talpox4xiAJsJRVI/Kt7whNyyDjSSI6 6WUZAnrtIe+m40+LghR4Lwki4Cxq7RAxDKlPHeg6VIb9xWzt9dvwGVtGMzRuYGSpT25d bl0w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=KXamEoU7; 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 g26-20020a50ee1a000000b0051a4d193b54si2497626eds.431.2023.06.26.01.34.40; Mon, 26 Jun 2023 01:35:05 -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=KXamEoU7; 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 S229553AbjFZIHv (ORCPT + 99 others); Mon, 26 Jun 2023 04:07:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48866 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230026AbjFZIHp (ORCPT ); Mon, 26 Jun 2023 04:07:45 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B8D10E7D for ; Mon, 26 Jun 2023 01:07:42 -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 40B931F8A4; Mon, 26 Jun 2023 08:07:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1687766861; 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=cDyM1flrXkR51Vf/TmGF98r9fylMMFk3WQKH8XYc9r4=; b=KXamEoU7I9i23kOa1N5cIdVH6OQuFLr2rtxxqL2Lxb3NLyyG+BaseHRT2gN9s20ESHodwL Xpx/uft/VH8mGIRg0X4rNsnnEaDmtH28VIRgzH1tNPf6tJudhd7BSyJnmdmX4xr6046IoS q5QWiO/SrDtDRHVy8A7BGNi6IraztQ0= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1687766861; 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=cDyM1flrXkR51Vf/TmGF98r9fylMMFk3WQKH8XYc9r4=; b=4NDDiZFgnLKQiKPMvA7l91NQaWAhk9miAHsV14JoAOGkWPh1tByOZEURnzyqqVjdJwJffI v1NvUYvD24iOpJDg== 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 1723D1391D; Mon, 26 Jun 2023 08:07:41 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id FNd8BE1HmWRmSgAAMHmgww (envelope-from ); Mon, 26 Jun 2023 08:07:41 +0000 Message-ID: Date: Mon, 26 Jun 2023 10:07:40 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: [PATCH] drm/drm_gem.c: Remove surplus else after return Content-Language: en-US To: Sui Jingfeng , Maarten Lankhorst , Maxime Ripard , David Airlie , Daniel Vetter Cc: linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org References: <20230622101857.2298773-1-suijingfeng@loongson.cn> From: Thomas Zimmermann In-Reply-To: <20230622101857.2298773-1-suijingfeng@loongson.cn> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------VSl75uvMDD0JaE9aR05gX2wK" X-Spam-Status: No, score=-4.5 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) --------------VSl75uvMDD0JaE9aR05gX2wK Content-Type: multipart/mixed; boundary="------------lc9r9tlk1xzg5xXWFKQWd31n"; protected-headers="v1" From: Thomas Zimmermann To: Sui Jingfeng , Maarten Lankhorst , Maxime Ripard , David Airlie , Daniel Vetter Cc: linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org Message-ID: Subject: Re: [PATCH] drm/drm_gem.c: Remove surplus else after return References: <20230622101857.2298773-1-suijingfeng@loongson.cn> In-Reply-To: <20230622101857.2298773-1-suijingfeng@loongson.cn> --------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W1fb2JqZWN0ICpvYmopDQoNCi0tIA0K VGhvbWFzIFppbW1lcm1hbm4NCkdyYXBoaWNzIERyaXZlciBEZXZlbG9wZXINClNVU0UgU29m dHdhcmUgU29sdXRpb25zIEdlcm1hbnkgR21iSA0KRnJhbmtlbnN0cmFzc2UgMTQ2LCA5MDQ2 MSBOdWVybmJlcmcsIEdlcm1hbnkNCkdGOiBJdm8gVG90ZXYsIEFuZHJldyBNeWVycywgQW5k cmV3IE1jRG9uYWxkLCBCb3VkaWVuIE1vZXJtYW4NCkhSQiAzNjgwOSAoQUcgTnVlcm5iZXJn KQ0K --------------lc9r9tlk1xzg5xXWFKQWd31n-- --------------VSl75uvMDD0JaE9aR05gX2wK 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+AFAmSZR0wFAwAAAAAACgkQlh/E3EQov+Aa OQ/5AXIaZkyAEx5lshNmfYGURMDQy2M1hxmokotbKX1a4LNxePhdDTeSNMIizJN8EzEP98mezcHg JOP6wEeG6UJ1/P0nndjc6G++PzTLVGpImZHUQuXWrYdrr7zU84Tupsl/xeEXJT1Xz1i/QuRP22rz GWAZheboqgH4R+h9Hqj/NrqVK0vlUKDWA76RDNN2/0mjU7phO748t1AxBDf8SmG1ysAA6TtJdJLr Cs4yDUZqLU9DETkV36RGlMjdTLK8ra2O6P5HnJNXPI5w9m2u1WfsWrCZJEWjod32R5zFqXElL7MG fP6Qky8Pu7LrGQgoyTXs9HvVUO54T5XMAC6hGCbliSr2uctD9hdhzxvIuFtA8nAubSjayarhaQB/ 00THDFPsukEh0BxGpNhbt+HahDJGtP7XsT9lEssTfggXjqlIBgD17fkC89tgoljhthvSCP8nLUd1 +2hs7lC/MAzOC6zCWq46v0KL7YKxbn2nwvV91rnLeUdUgC87Ia40EQ952C2fyMrcFYJ+V5UPq7If bZUdnQtDCvJP7093a5x+YLEu9LiLXzfZkDclmvGGAjpaSYmL1GQpPmfSQWRScCTeml/0dNO8QcTW QWdfDsHSEme1ZBMX807EOUm3HhIy+FsfzuYFfAUP25YmgYf3rUSGmObuJwy68tcrtNvu0INhKmW4 +dY= =6dZ1 -----END PGP SIGNATURE----- --------------VSl75uvMDD0JaE9aR05gX2wK--