Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp432138pxb; Sat, 10 Apr 2021 07:25:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw9UvNe0ikuRiyyJQ9PHZD8KA4C8kCL/+8uG7PsLs7ycWboXg+SqLLavxX+BtZrBM8VmrL1 X-Received: by 2002:a17:907:1692:: with SMTP id hc18mr20065858ejc.265.1618064738547; Sat, 10 Apr 2021 07:25:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618064738; cv=none; d=google.com; s=arc-20160816; b=fZa0cVk/ucKb6JnTyNsKoP1LBca/KFrpvmNPx9Noc7zTvC+Pik9vDf2mrdNnph2Qox cYqmhCeOJpjnH1eMQ9xy87eY+FCRvLj9NV7Y54IeyUg8VYfSuUWyU/J7yvke5XMkT1KX Lp4LIAwJmcCi4rAwnfMnZQG62hLWIvmnJ/3KKbTARkU+dGBWRMvjwHk/UE8yV54dJMMD uPN8Yxrjm5nAfU0BW6Pioo4/TozHWedovDoHuR5e5jO/XGrVsqzUo5n8MgvGmemahmd8 p035Hu5R420hVhXl4vqdyaCjUofjVxVyIs5+dYlYL6yAkd7PW0muQcZurumSonY4RS7L WTwA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=xoKptjN/Za3XCKnMQ3wvZT/Nd+Wkd5RNXWkMpHcIZ+w=; b=DfA/HNizMRLTRq22u7O+/GPveKMKIm3ZatGzMUKcFy6IClpS0B9j3Wy9x7inUY57qV rHYX7qjPdKvnISMZQwIIHr9EgjmkUqWer7SsZnyeKBa/pLRf76h+d0zj6F6tQFjUPCgg Ij7lc5vDE7g6HyvYDJoPCmpM15UM7fphCeGP+JU+RdqVNUxwERvY2DKud1O87gZQyHPg LHjsQI3ka1tEP1HYo9FvWOUnTPvcBG2T0Y+zdm6aRGiUDIIyDCYoGlFYeNiLrOIfzR8n vpZdETXT1AP5/XI4mbO+xLpPbHCzWca/F5k0VDnGEiIMtpLQJeh0JsyZHErvpIa12fjU eRjw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=YZExNgbw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y2si4377885edu.245.2021.04.10.07.25.15; Sat, 10 Apr 2021 07:25:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=YZExNgbw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234917AbhDJOWd (ORCPT + 99 others); Sat, 10 Apr 2021 10:22:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54758 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234957AbhDJOVZ (ORCPT ); Sat, 10 Apr 2021 10:21:25 -0400 Received: from mail-ed1-x52c.google.com (mail-ed1-x52c.google.com [IPv6:2a00:1450:4864:20::52c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3ACC9C061346 for ; Sat, 10 Apr 2021 07:21:10 -0700 (PDT) Received: by mail-ed1-x52c.google.com with SMTP id h10so9753862edt.13 for ; Sat, 10 Apr 2021 07:21:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=xoKptjN/Za3XCKnMQ3wvZT/Nd+Wkd5RNXWkMpHcIZ+w=; b=YZExNgbwoso7Bp2/1mQB1Tz2shjDe2Rn/aGNjYz66jyQuog08QQ3SvE1t884UrHuCX LIxducPDVfFjdayb+IBMwYEWUh5P2LLOKsxiO8JWcVU4rOWt7z/1FqP4WLfttVB2qVp9 q5RMhNjpaS5PNx46u3HTUKcM8a+gNN28Cj8AbUzYw1LLaYbFFgF2VyE7WcA+b5fqmBMG 7qKDIyI2+ZDiZT8J3v02C/1gJo/x9lHU3VfsvsLz+nytW6ls2ZzL63J0qxm4YYLtIOfc 2Ev09/aYgTUywHk23OkoACZNxBGxLG3AxhQZ2TZxymOo6TA6e0pprRhLLxqiPscztkU4 lYeg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=xoKptjN/Za3XCKnMQ3wvZT/Nd+Wkd5RNXWkMpHcIZ+w=; b=DdDlGUGfd6tZlOsQeOiXlIm7pslYygSuMhwjGjAjUf6ABBMcIIYg5flEykOGrOGGxl Y5K3Z26sP9RE+7bnHYIc1QaYc3OHPvFWqZ0hMTYtkyFQBkIKQmSu52TiZGEzpEXXm8Ta hoBCx7QAt/W+Z9ppAEr3L0ZUOmvSCTf2kzEDRxlmKwxh0NJ+sx6pRSkhiHroZQH+6OHK +0P4qZIJnChfYeGDlM+XdzvRuWjFygAyOw9u7v8paxjzP+jvoQTSXEITwFQZu/CIn6De Jdv9GKgkXkUG0xJsFarDoQrWiytwXD4obWjs6/FdydzR4n3yOQ80LIGcyF3uh8/cB/1N gBNA== X-Gm-Message-State: AOAM531NbTSQ0nv43HI4ZQ5lPNimmTJMsnaAD45B9x8qdHUQ+cGY2DVe alCuwoYOmX3VROjS2soKF6BbmPOlL9rNWQ== X-Received: by 2002:a05:6402:549:: with SMTP id i9mr22547270edx.379.1618064468862; Sat, 10 Apr 2021 07:21:08 -0700 (PDT) Received: from agape ([5.171.81.28]) by smtp.gmail.com with ESMTPSA id lj21sm629253ejb.74.2021.04.10.07.21.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 10 Apr 2021 07:21:08 -0700 (PDT) From: Fabio Aiuto To: gregkh@linuxfoundation.org Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH 18/25] staging: rtl8723bs: put constant on the right side of the test Date: Sat, 10 Apr 2021 16:20:31 +0200 Message-Id: X-Mailer: git-send-email 2.20.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org fix following post-commit hook checpatch issues: WARNING: Comparisons should place the constant on the right side of the test 287: FILE: drivers/staging/rtl8723bs/hal/sdio_halinit.c:738: + if (_SUCCESS != ret) Signed-off-by: Fabio Aiuto --- drivers/staging/rtl8723bs/hal/sdio_halinit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8723bs/hal/sdio_halinit.c b/drivers/staging/rtl8723bs/hal/sdio_halinit.c index d0606267d947..049112a08776 100644 --- a/drivers/staging/rtl8723bs/hal/sdio_halinit.c +++ b/drivers/staging/rtl8723bs/hal/sdio_halinit.c @@ -735,7 +735,7 @@ static u32 rtl8723bs_hal_init(struct adapter *padapter) /* init LLT after tx buffer boundary is defined */ ret = rtl8723b_InitLLTTable(padapter); - if (_SUCCESS != ret) + if (ret != _SUCCESS) return _FAIL; /* */ -- 2.20.1