Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp5890267imb; Fri, 8 Mar 2019 04:51:51 -0800 (PST) X-Google-Smtp-Source: APXvYqyVrPxUU1T4dcD4dFRwbX80XmWg3oPpcd9K4R1OgtLQ4m0KxOyWsf+VssF6XwFaMiCq/ZBF X-Received: by 2002:a62:6046:: with SMTP id u67mr18413447pfb.46.1552049510929; Fri, 08 Mar 2019 04:51:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1552049510; cv=none; d=google.com; s=arc-20160816; b=g6ihQVHyyDVIdfbD6XjK0Njct/BqSa13g8snC5PyZrGWoRQUQZwiID2HKoTGalJ41o GyKd5HHN24kcuFfRKlS7L8zuUYK9pNxGnqkfRzVW/6VHnjWTzFYcqqfBOGVab/v6+h0A N0dO3HrD3Yr2dKAgKHZ2Eg3EaXIjmDW/Lq72rypY60mnmcgPz3EqWSX+GiaGIiUekjYV OjZ85QaImsm+uNWrl7ulmlHls8wUVefQDl+Izbzkw/QV9kZREpJaQDs5n8ck8D4+7sA2 z9+mA9+WkpYIUd50YZAo2zx7mWRsvym9RQv85l/frgGT/TptM3TSzCEh4s2SgBKGogZd 8oVg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:dmarc-filter :dkim-signature:dkim-signature; bh=lFSi9Q4BiBEO9u88+oRn2NOEjuH6RLmvKOi5/rUoIss=; b=v7fwi8ctMAwwhXCEkkOTJwYWtJQOGvjxQvRHWFi85OHjX9VAwP+3RMTccPKrH0/pBi ScHs3nK0HvaJ+++mR3+IwrZAh84uRY26jOSwL1SfSn5pfPTcMNryMvbFDZrfYbhO8g7F BUPpE1pFZcjLFpZN3r+JbuvSzJyvduQ9aE7+/wLuDcmP3bJ20gtHpHh3l0bYTs1e+TAg GxMj5/eTK0CmHX6qWBXt7CyaZ8KlQ6iZOPb5Xzbc4XYjU7T0Hto06Kd5UKmVVlhWnuCU hwS8Fq85IqEVNrnG1zK+/OqSsO6vq52M2jjP79zNOKO/yKEToEA2I1Fr6R7iPJz+Tp/G U3BQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=j97iEpOM; dkim=pass header.i=@codeaurora.org header.s=default header.b=am9lCNA3; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 20si6533262pgr.200.2019.03.08.04.51.35; Fri, 08 Mar 2019 04:51:50 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=j97iEpOM; dkim=pass header.i=@codeaurora.org header.s=default header.b=am9lCNA3; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726552AbfCHMth (ORCPT + 99 others); Fri, 8 Mar 2019 07:49:37 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:54428 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726258AbfCHMth (ORCPT ); Fri, 8 Mar 2019 07:49:37 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id CDB30611FC; Fri, 8 Mar 2019 12:49:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1552049375; bh=G2hjLxWOoRxClomK7/BcNb0j0s28LQcLYNmZsDnePxs=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=j97iEpOMuKeHWlYpAAx/oo80LZ/jF8pmq/nNHGeD/+sCgIAafZxosXPTF6QbOglaT rn+O2AMGsoTuGXXliJU0rKi8DbwHBDq4Pgr/3y4FlXouDknlfIBKg0a5Km63zcurKc odsEisAp3NYbvO1AYgzfbDRBsNllrLjMCKRLatwI= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_INVALID,DKIM_SIGNED autolearn=no autolearn_force=no version=3.4.0 Received: from potku.adurom.net (88-114-240-156.elisa-laajakaista.fi [88.114.240.156]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: kvalo@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 313676055A; Fri, 8 Mar 2019 12:49:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1552049373; bh=G2hjLxWOoRxClomK7/BcNb0j0s28LQcLYNmZsDnePxs=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=am9lCNA3CPrAHtAddhi/bNbN3JtdN5DJ3n2WFxcFXiBlLH4q8Qs/c7d7/U8MlxuiP 8x/D6dZ9b7bzFIJT4DZIsXF9yNSwumLEpgg9tE0lK5JXN8ufmKY3QwrvpKRC3NK/wQ s8k2ZOzRMJkDs++wqT+8jeiWFltrxeg51TKFanVE= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 313676055A Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=kvalo@codeaurora.org From: Kalle Valo To: Julia Lawall Cc: Venkateswara Naralasetty , linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, ath10k@lists.infradead.org, kbuild-all@01.org Subject: Re: [PATCH] ath11k: fix bugon.cocci warnings References: Date: Fri, 08 Mar 2019 14:49:28 +0200 In-Reply-To: (Julia Lawall's message of "Thu, 7 Mar 2019 22:48:53 +0100 (CET)") Message-ID: <874l8d7cpz.fsf@kamboji.qca.qualcomm.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Julia Lawall writes: > From: kbuild test robot > > Use BUG_ON instead of if condition followed by BUG. > > Generated by: scripts/coccinelle/misc/bugon.cocci > > Fixes: c105b7abf400 ("ath11k: collect DDR dump after fw crash") > CC: Venkateswara Naralasetty > Signed-off-by: kbuild test robot > Signed-off-by: Julia Lawall Applied, thanks. -- Kalle Valo