Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp1403446rdg; Sat, 14 Oct 2023 00:14:54 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH0RPjyfnJRuOE3gUa2JQcBqyH4pKxrbvYKaYAZhi+kWqR0PJd/oS1vO31++rwbowVz84xY X-Received: by 2002:a05:6358:785:b0:143:81bd:c0ec with SMTP id n5-20020a056358078500b0014381bdc0ecmr32548595rwj.6.1697267694463; Sat, 14 Oct 2023 00:14:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697267694; cv=none; d=google.com; s=arc-20160816; b=taEAu/KAzZZcTgFJJBhTqZrD2whZ6EEObGIZ2Kqr+DwAXHLsM9n6bXeki1MLy7FMBe TcNpUCEgjddAAEwNnX1yfCv5GRG5zUEtVy3meuGxSsNsSHJGp59zG0+bwb3FgWzng4wr MyzWPBSs/GRNSVnKkY/FqamnFi1Lx+KuRZme8+LPqOByNMUJuT7II/Z71lCr927Uy8o/ 5kOMU0b/HQJP/Z8zS+HJZQA2pNZRUBhp+BqqcXco311Tai6YCdde4Osu4PDGiEs6z7hn 59B4fg3MKXIpjyygQPQfJ+Utdel0PZFqNc1P7ldXPq5DMvVXfW343qhOpPZ/XpFWnC4f d2aw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:dkim-signature :dkim-signature:date; bh=Xbnbh99yvU7jmpVxBKvgmPJFoeFC8l82RIMouf6GW24=; fh=Y/3Wn+KbkQjqqsA1ioRHkhpt8ligmWBl+5hpCgKo+LA=; b=KCuW55XT18akeOwTHzceqFmQPoyzcXEBDkuYSzval0HNEJt1rB6bI7LaR2WJ23TPn8 JlEphgXcxpXnw7TTIAL7zhLKBiCdjNYokTwPrwumCKaZJ2Syrb8FXU2ddk9+wsJPUy2c zTdTQBLRX3eqy8ordz6DiNf8vdZcNnUtGT/ZbXYO8bX5OSmr8GeKoE8as5mzcegC79de TpaVZf8L3CM1cXrlwgo14kAmQXOJ+XDlISsGuzZox6v+lRNRD1pLejpSiaqjvTiO7jbw RYa/26jU/Xt6+xY4mkw996pkNGUXmP9Mo3sks8JE+G4nRvd2ltg4tkfgMXb6jLca7L4V dAPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=SBLKtjiY; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id n5-20020a635905000000b0057808b558cesi3561014pgb.124.2023.10.14.00.14.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 14 Oct 2023 00:14:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=SBLKtjiY; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 5F4A2801B655; Sat, 14 Oct 2023 00:14:52 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232326AbjJNHOb (ORCPT + 99 others); Sat, 14 Oct 2023 03:14:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60878 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229518AbjJNHOa (ORCPT ); Sat, 14 Oct 2023 03:14:30 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C1EF6BB; Sat, 14 Oct 2023 00:14:28 -0700 (PDT) Date: Sat, 14 Oct 2023 09:14:23 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1697267667; h=from:from:reply-to:subject:subject: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=Xbnbh99yvU7jmpVxBKvgmPJFoeFC8l82RIMouf6GW24=; b=SBLKtjiYviFjveDjRb79mJyxqapQGgfrGoHxycbxNOE2Fx56SiFEglWX4Z+srnhA39LBC9 j8gWwA4026XEr4N5xgZeV/vldWNo6AIaeyMoDv0B+AUqVa1PKruF9c8NQscARdJBDrf4Wa FPmksb863QBpNNH5Tog6eniPPmgR/GpVl7+fyo+ZUzloSFQpRWGCwDV91MjKA9cjTdb5Rh zKzFCcwDnU1z3OySo+uFCqYB1U2gPrfwMoac4EUjfEnf8pXQF2BKvQerJy5WdMJF/Ztnsh fPtDURRSjfUEPTqu0lnoiG+R28vH+W+cqvZhZs78/z8w2BrZoT5xHMglF4BjTg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1697267667; h=from:from:reply-to:subject:subject: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=Xbnbh99yvU7jmpVxBKvgmPJFoeFC8l82RIMouf6GW24=; b=nfCw1hp2mjdEYlYTl1kbXXZXVkQCKhmYbw6+QD1OshrBYdosdg7ivbBHLGcOE+FOwu6l/g J7kWFgWAwoMJjCAQ== From: Nam Cao To: Gilbert Adikankwu Cc: outreachy@lists.linux.dev, manishc@marvell.com, GR-Linux-NIC-Dev@marvell.com, coiby.xu@gmail.com, gregkh@linuxfoundation.org, netdev@vger.kernel.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH] staging: qlge: Add bool type to qlge_idc_wait() Message-ID: <20231014071423.UgDor1v0@linutronix.de> References: <20231014065813.mQvFyjWb@linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231014065813.mQvFyjWb@linutronix.de> X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Sat, 14 Oct 2023 00:14:52 -0700 (PDT) On Sat, Oct 14, 2023 at 08:58:13AM +0200, Nam Cao wrote: > On Sat, Oct 14, 2023 at 07:11:59AM +0100, Gilbert Adikankwu wrote: > > Reported by checkpatch: > > > > WARNING: else is not generally useful after a break or return > > > > What checkpatch is telling you here is that the "else" is redundant and > can be removed. Although your patch suppresses the warning, it makes the > code messier :( Ah wait, after reading Julia's comment, I realize that the "else" is not redundant at all. Seems like checkpatch.pl is lying. So ignore what I said.