Message ID | 20230115210734.18610-1-straube.linux@gmail.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp901132wrn; Sun, 15 Jan 2023 13:11:02 -0800 (PST) X-Google-Smtp-Source: AMrXdXuS4kxWHhisNI8GYKp6rWke9R5QuDoGXGKCPM1r3WfnaLDVVm3kESTYNA+N2vCHxQJlbKBC X-Received: by 2002:a05:6a20:4fa4:b0:a9:e225:6f7b with SMTP id gh36-20020a056a204fa400b000a9e2256f7bmr20389307pzb.0.1673817062206; Sun, 15 Jan 2023 13:11:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673817062; cv=none; d=google.com; s=arc-20160816; b=jO5qKAIRqy3l8pPriOR67SZuV6iJ+Z+Qx2HGIVXGqqPtPoCCgKMVDP4l1MFyRGsk4A u60pgIi8vUN5PF8CbUU/B2p7EQn4b9HbpH02lsdtzfV277oesKqbb8tetUIb+5eW81Sy zAebt5aRBWuqAMDpPxzpw6I5lqcTFFCx11fMJw5Co0zTyzVeqPGazNiP1rXvwL/m+d54 OL+ggtUh9BAegO86cdvnnYmRgOXQbsiR4+BOBnNIACK0xpnsvUixI4M+VOgAsqRMOzJZ FjF9JM+Q6isVrC0lGx88gR/3kuvZUmwlmSJraBai08dhmeOQcTVOTiKgPkaonhyo9zgX mOpA== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=AfQqV82MfqCTkqi+JFVujPJySbqXceDsA7yHZUhQU0o=; b=RvjNnePHTxlxBFSr561Ft07LBx2bOkpInyCEOsb96DtKRQQBod3mEDxQL5MB8cHN6E k73tl5cGtHdgYCrP5H/hq+7R3Bykx5OyPlnwD9Ew7OOd80AgbcDyX5i01Vxa7Jtftjkr DZh/YRaANRmzau92WHm/1jnuoxQJYbqFCx+Ud/ioHyKJhnj5EPvhpewKkQcTukVpnXay rUAhiugon+PAMYFsXH+PvwK0PRLVCWdGq0X+RHMR5GGmZMqP4CZCPVvyFzAaNKDBzEqp 6YoF+pB4mi/JCV65Ikgv77P6ds9B6ayjE6mAfIBAL26BmoE/rm7YI/UIIbjIKKVKLoov gWHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=bYsdL8d9; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v7-20020a631507000000b0047873703e74si27067304pgl.265.2023.01.15.13.10.50; Sun, 15 Jan 2023 13:11:02 -0800 (PST) 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=@gmail.com header.s=20210112 header.b=bYsdL8d9; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231650AbjAOVHz (ORCPT <rfc822;stefanalexe802@gmail.com> + 99 others); Sun, 15 Jan 2023 16:07:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36736 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231572AbjAOVHu (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sun, 15 Jan 2023 16:07:50 -0500 Received: from mail-ej1-x62c.google.com (mail-ej1-x62c.google.com [IPv6:2a00:1450:4864:20::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 708C0144A2 for <linux-kernel@vger.kernel.org>; Sun, 15 Jan 2023 13:07:47 -0800 (PST) Received: by mail-ej1-x62c.google.com with SMTP id vm8so63854668ejc.2 for <linux-kernel@vger.kernel.org>; Sun, 15 Jan 2023 13:07:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=AfQqV82MfqCTkqi+JFVujPJySbqXceDsA7yHZUhQU0o=; b=bYsdL8d999TdaNref95ZP6prSkX1Hb9ktXNMyZC6ZY6WtZGdEQI4UZZ/EIiDIcvSWL TB1Zf+0P2T0BvtECPdZ3pIygJFq1WgVl1FvTLpyhfrrl0zUygDXt70veARKusjpOpmdO Y0WKTjXwlh/6i3aZw3qHLw25ElusLg1Gt3hgsdMGhp+JluZm4jzmK/XuJo+lHRe3usTa f26CTrX4Odr5SLp6b5j7bUqFGXnFIG/oBECGCPSN7Nplu5JRMWcABh/+2atEehKSWO90 V0tkTMzYWqIGVZNQefGo/0r+1xlG8XR/GjfSs0bz/WNGaBB7hJaF2GrXaJr+9/ckGZzC BspA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=AfQqV82MfqCTkqi+JFVujPJySbqXceDsA7yHZUhQU0o=; b=vWw5LmykWfrLOpYqptiZz3gL71F3FNj+vmDmv4zdu8Iwzl+ZUwOqS5bnicjXq3uCAZ njd9TsnTzCR3lMk7UCLju9KEPA4L6zFuyZD8bLUnK5dTl9JpvKduhAKErhFOZgc3cC4B 2yOdBBeVGvgWi8zZEmZd3wJ/mU3UdHQLnxNJmPT3MikfYWjC0ldfXAzfpvJ/KYPAoalU D1aIZjI4rUfuHBSmyVJbBDB0dj1ivOogFlVwfZeuiodnH+ARRjBgy/qJnQWDj7EH4EKo +w3UBl4reiM72dkyFLGnNK5rdZbA2cy6alZMTiL6YSRa4d8hH2N0CaLWi8L9vl8eRatM RWKA== X-Gm-Message-State: AFqh2kqqCT9RvC96kYXXr2m77P/3CgfvTKGNxzjLvFHx6cYG9RCPizmx 7IXyVzU20KrzJllF6hXfdKLpG7ealfw= X-Received: by 2002:a17:906:3d6a:b0:85b:daf9:dcde with SMTP id r10-20020a1709063d6a00b0085bdaf9dcdemr11248955ejf.61.1673816866035; Sun, 15 Jan 2023 13:07:46 -0800 (PST) Received: from localhost.localdomain (ip5f5abbb0.dynamic.kabel-deutschland.de. [95.90.187.176]) by smtp.gmail.com with ESMTPSA id a11-20020aa7d74b000000b0049e08f781e3sm1010421eds.3.2023.01.15.13.07.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 15 Jan 2023 13:07:45 -0800 (PST) From: Michael Straube <straube.linux@gmail.com> To: gregkh@linuxfoundation.org Cc: Larry.Finger@lwfinger.net, phil@philpotter.co.uk, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Michael Straube <straube.linux@gmail.com> Subject: [PATCH 0/4] staging: r8188eu: some error logic cleanups Date: Sun, 15 Jan 2023 22:07:30 +0100 Message-Id: <20230115210734.18610-1-straube.linux@gmail.com> X-Mailer: git-send-email 2.39.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1755124399770479608?= X-GMAIL-MSGID: =?utf-8?q?1755124399770479608?= |
Series |
staging: r8188eu: some error logic cleanups
|
|
Message
Michael Straube
Jan. 15, 2023, 9:07 p.m. UTC
This series converts some more functions away from returning _SUCCESS and _FAIL. Tested on x86_64 with Inter-Tech DMG-02. Michael Straube (4): staging: r8188eu: convert PHY_MACConfig8188E() to common error logic staging: r8188eu: convert phy_RF6052_Config_ParaFile() to common error logic staging: r8188eu: convert phy_BB8188E_Config_ParaFile() to common error logic staging: r8188eu: convert PHY_BBConfig8188E() to common error logic drivers/staging/r8188eu/hal/rtl8188e_phycfg.c | 35 ++++++++++--------- drivers/staging/r8188eu/hal/rtl8188e_rf6052.c | 7 ++-- drivers/staging/r8188eu/hal/usb_halinit.c | 15 ++++---- 3 files changed, 27 insertions(+), 30 deletions(-)
Comments
On 1/15/23 22:07, Michael Straube wrote: > This series converts some more functions away from returning _SUCCESS > and _FAIL. > > Tested on x86_64 with Inter-Tech DMG-02. > > Michael Straube (4): > staging: r8188eu: convert PHY_MACConfig8188E() to common error logic > staging: r8188eu: convert phy_RF6052_Config_ParaFile() to common error > logic > staging: r8188eu: convert phy_BB8188E_Config_ParaFile() to common > error logic > staging: r8188eu: convert PHY_BBConfig8188E() to common error logic > > drivers/staging/r8188eu/hal/rtl8188e_phycfg.c | 35 ++++++++++--------- > drivers/staging/r8188eu/hal/rtl8188e_rf6052.c | 7 ++-- > drivers/staging/r8188eu/hal/usb_halinit.c | 15 ++++---- > 3 files changed, 27 insertions(+), 30 deletions(-) > Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> # Edimax N150