From patchwork Fri Nov 11 08:37:29 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Straube X-Patchwork-Id: 1493 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp620784wru; Fri, 11 Nov 2022 00:42:54 -0800 (PST) X-Google-Smtp-Source: AA0mqf6z4P7BDQikyCpdAbbU3Jem4O/R9kaEVzSrRKIo7/1X/91MXfi7GBYhONDd6+p/v/RTKt4/ X-Received: by 2002:a17:902:8d8f:b0:188:4f8b:dc59 with SMTP id v15-20020a1709028d8f00b001884f8bdc59mr1675418plo.50.1668156173911; Fri, 11 Nov 2022 00:42:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668156173; cv=none; d=google.com; s=arc-20160816; b=jtfSUpCt6ASw0ZEcx4e4OUCaw18wRCwrR+Ge9lby9wdg3xNvYuPLT3p6pYSQYpQayG WLI5C96SDCBmWSXrLfgpqlfIjExCEOKAIYvDojsZbSg2EeolOqaXYBM+ZJfHUvZHL3FS k6JyHZydnIQOFMi9YUn/aT42fYpXBCVgeJy2xPFVaOWVIHVZaxIBs0xflWQWzXujSdoR 4Xob6Vc+m2hmlc3w3wFg7AauYK85qoZjl+IvGXYMUUbemkYrVcpRwZfMN/x/iX8BAIdx w28yoJRvZi6KjhK+15LnDGUYcAwJCiMXtqCbXDiwLgTmG6ndnUNnq6hj58DubxhrbM64 Aqlg== 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=QRcKVfIS8NDafd59OlyUFdzDuB31g5yY5UyB64GKppc=; b=GTFL9LIaotDX1Di5GBG+QxD1QmyAYuXZ8+kHBp9THhlUun2lzLbNluWWaSr/PYIrpX ejNcbVhlGu7DZ1AgR1qnA+Ua/lAvtqp8Dt0Fhh1vB5Q+gKvS0Z7JObo/+rkfkqzhONMu 4APoV9nRW2xSlARuKFYWZCVHPSqmFH5NdPOxDV+V2iIr8CVhdV4oagdeoY5WVRizZ9UY Aof/z9oiiSC9Se3LMoskRKSmsxhdOXt6BbpEKAxJeBmybxV+5kG6q+aAnPxeuipNqxU4 YkzrWNs7Pr9tkljbbINiQNn2iR9u20LatkRZDEJxOLRJq3RZWC3g246euQ4DFNamn0qB 7XAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=SyvdF3Fb; 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 z19-20020a656653000000b004610dceee7fsi2073031pgv.165.2022.11.11.00.42.40; Fri, 11 Nov 2022 00:42:53 -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=SyvdF3Fb; 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 S233132AbiKKIhp (ORCPT + 99 others); Fri, 11 Nov 2022 03:37:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57086 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233067AbiKKIho (ORCPT ); Fri, 11 Nov 2022 03:37:44 -0500 Received: from mail-ej1-x62a.google.com (mail-ej1-x62a.google.com [IPv6:2a00:1450:4864:20::62a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 60C0363142 for ; Fri, 11 Nov 2022 00:37:43 -0800 (PST) Received: by mail-ej1-x62a.google.com with SMTP id t25so10994356ejb.8 for ; Fri, 11 Nov 2022 00:37:43 -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=QRcKVfIS8NDafd59OlyUFdzDuB31g5yY5UyB64GKppc=; b=SyvdF3FbMU8xxvtzWNKLFujAL/SkyCinpdysIw+4QBwISd7ANJfgSeWN+jfDXJXkdu 5APNx5TeLxTQ6PyGMl2MxqO0y3MVka/YypI1qgGto/Ciday9F57hFisf0cWQdjxRYcXh FMO8YgnvK99GoYJy3ZcyhTBWR7c0aJx4Me/S4sptvnaSjKSKJW4vFLXNaN61CT24mKZb Vl42J9QpTGalvPOiY8Udw+dkc5n5k8/0fEpf9lC5zdQciS3XqOLcbsU0yv/UJTQDaXft 9+kXPwwkDWlyLBp7i+NI+VWLEiaMLMpROkV6vygm3e6cyQ6Uc/0jLGtTkWiMEdA2/BxV 6eKw== 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=QRcKVfIS8NDafd59OlyUFdzDuB31g5yY5UyB64GKppc=; b=hEvzmgnDHWxJbCCKRv85d0RQife8bu4+eoDMJp+4xsODBkAbZMJRmAlO3ZM9nqpJW8 jjS3P2d121+FJVp0ISpRCYGCz3/sMtpvneRkcEPERdOvXWIlBdvRxDasf30lFulXojVJ lZ6GOX/UX6y7UM1BTPMjPXPAya2RMicXnY0BphVaQNTl5TBo8ragFeDaseyWj78laXMT mVpaDRO5VRu9J8jN9QtkLkUbMwt+45tqsM7xWQlMNdIF/jkhC74wnSQ5MFRqGVt/0lFL /OrWfXzd2jarXwjtJ4Znu6PaQa5OEWOuCF5SI0QBjsSDWM+EIDD83yEVQC5MYNr+Qkak 22rw== X-Gm-Message-State: ANoB5plgd4u8eR9vXx8RddSaPkSKvjr3NQGEd2BZcwXn/0Qbd5ntE/95 0E1j8Y9+hMcELfUNj/afQs8= X-Received: by 2002:a17:907:2348:b0:78d:f796:c00d with SMTP id we8-20020a170907234800b0078df796c00dmr1042024ejb.251.1668155861940; Fri, 11 Nov 2022 00:37:41 -0800 (PST) Received: from localhost.localdomain (ip5f5abb9a.dynamic.kabel-deutschland.de. [95.90.187.154]) by smtp.gmail.com with ESMTPSA id b2-20020a1709063ca200b007ae566edb8bsm643190ejh.73.2022.11.11.00.37.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Nov 2022 00:37:41 -0800 (PST) From: Michael Straube 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 Subject: [PATCH 0/4] staging: r8188eu: some _FAIL, _SUCCESS removals Date: Fri, 11 Nov 2022 09:37:29 +0100 Message-Id: <20221111083733.3144-1-straube.linux@gmail.com> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749188528631498670?= X-GMAIL-MSGID: =?utf-8?q?1749188528631498670?= This series removes some more uses of _FAIL and _SUCCESS. Tested on x86_64 with Inter-Tech DMG-02. Michael Straube (4): staging: r8188eu: convert aes_cipher() to void staging: r8188eu: convert rtw_xmit_resource_alloc() to common error logic staging: r8188eu: convert _rtw_init_xmit_priv() to common error logic staging: r8188eu: binstallGrpkey is set to _FAIL drivers/staging/r8188eu/core/rtw_security.c | 4 +-- drivers/staging/r8188eu/core/rtw_xmit.c | 37 +++++++-------------- drivers/staging/r8188eu/include/rtw_xmit.h | 2 +- drivers/staging/r8188eu/os_dep/os_intfs.c | 4 +-- 4 files changed, 16 insertions(+), 31 deletions(-) Tested-by: Philipp Hortmann # Edimax N150