From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.2 required=3.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C4C21C49EA5 for ; Fri, 25 Jun 2021 02:40:58 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 831C1613C0 for ; Fri, 25 Jun 2021 02:40:58 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 831C1613C0 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date:Message-ID:From: References:Cc:To:Subject:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=gUN2zQqWNDyoCFPgxXhZuelqXoX3gsfx96WAvrAUSWE=; b=qBeUkCJckEGlzz6smRkCHIiTp3 dcUq708bNasXk3ORCjpbG1DuNB1KccoVclPCuvI9CSG3z7oUxOpVumNcB2/DHojcWo/sKETeoxbK8 Y4nRlfMVgRupGbZp2BTgt2/KPiLNxuZVx7I37bFjue8W8L1TLPT8EtfSxXkYka7WcBnhDKqcR8lOn 6h82bD0DE5gsGQxPWacZ1C+jU3xbe28CljLBnGa+XESmqcjuAVg16ayNLH942/R3c2hyuubwnihx4 ppISiQ+PBS/ehzFvZNYIs9YQyQtuvamOpBiVEqp30w6eTip+PVoNHxP4BX/r4eHOSPcbPGqHW0FPE 90N35EXA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lwbkB-00H6Vc-IL; Fri, 25 Jun 2021 02:38:59 +0000 Received: from mail-pg1-x52c.google.com ([2607:f8b0:4864:20::52c]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lwbk7-00H6V2-Px; Fri, 25 Jun 2021 02:38:56 +0000 Received: by mail-pg1-x52c.google.com with SMTP id a2so6369727pgi.6; Thu, 24 Jun 2021 19:38:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=Cd4QsvztevPYCvOOxkfeUvwdXq5/dlPeOoAMC74Y2Ew=; b=pZkRQ1VnztC4lb+ASJL0ewmH5iouWMhXVcWy0o20wygETPXSq+uuqhWgLNe8HIo8eS mhxqRvrjPRZkEw3VJoMzkjHQ2ZQ/Vm4uodPrK1nXDEuh10J1moim030LgkXVAHUGmHKW Uu8kh8A5QBu/mZWH2jCp88UAT8tQPx3Z9FhksXDnUpCkuwiC14toCWcs+swlmtQrJugA hNOyItoJJC24k2lnkOJ+p46vCfd029UEhaQtkYohisSSY4hacqWi2RCc/oDB78yVcNdV J5slpYG58a6V+MCKmdxuQlbIaC08kjOOtL5z3us9jJ+RCjanU9FF5zX97YfsHdKayMQT f9IQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=Cd4QsvztevPYCvOOxkfeUvwdXq5/dlPeOoAMC74Y2Ew=; b=ggTS/eeWEWw8dT+0nwP9t1lc+5bUC2s3AeyH6Ny3ymKp+2UK99psY5xRiX0ZwUe0XN N7hEVrcIgtHCxY2/9iaG8X5FoYVwpjnly0m76snBWzRrU7Ojs1M+r8wkKJVP36Qim8Iu YuE0E+aTU2+rFD5dtOatM2KExCQLLTbRyMGz23wnx9BJO3IohqywugmfijVNs83BhYDr c52fp8M2t0NZbHXThfn4IMfgbHT87t+5DXW7f5gmxiaDGuUoe5fQo/N2LhVVp8v/r/za 5olUQEeGsml5VDU2uje0sNve9APDOX0DKg93eSIlqVSqnvcOtt4wYVcUlrZ6ux3DE/PM 9uKQ== X-Gm-Message-State: AOAM533jHM0AO5TRKOS5h/z4XgLqBO2Q0GUQjyPIGpu47VPMfNWpinQ+ 0V+nv16QrLuH+Iv9Xo5WfNg= X-Google-Smtp-Source: ABdhPJyAsJjf/ZCfJJUJdaJg2YIW/O5BHI6tn1t5Q6AxVXcWJULg9Z8qjkOOE2UEUIs+3X3jFJEJBA== X-Received: by 2002:a63:7985:: with SMTP id u127mr7522014pgc.228.1624588735083; Thu, 24 Jun 2021 19:38:55 -0700 (PDT) Received: from [192.168.1.121] (99-44-17-11.lightspeed.irvnca.sbcglobal.net. [99.44.17.11]) by smtp.gmail.com with ESMTPSA id b25sm3970390pft.76.2021.06.24.19.38.48 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 24 Jun 2021 19:38:54 -0700 (PDT) Subject: Re: [PATCH v2] pinctrl: bcm2835: Replace BUG with WARN_ON To: Jason Wang , "linus.walleij" Cc: nsaenz , "f.fainelli" , rjui , sbranden , bcm-kernel-feedback-list , phil , iivanov , linux-gpio , linux-rpi-kernel , linux-arm-kernel , linux-kernel References: <20210624235122.24772-1-wangborong@cdjrlc.com> From: Florian Fainelli Message-ID: <0b7f68ff-f437-ff7d-9eca-d220ca897192@gmail.com> Date: Thu, 24 Jun 2021 19:38:45 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: <20210624235122.24772-1-wangborong@cdjrlc.com> Content-Language: en-US X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210624_193855_897403_58BFC6A3 X-CRM114-Status: UNSURE ( 7.76 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 6/24/2021 4:51 PM, Jason Wang wrote: > The if condition followed by BUG can be replaced to WARN_ON which is > more compact and formal in linux source. > > Signed-off-by: Jason Wang Acked-by: Florian Fainelli -- Florian _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel