Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp869399pxt; Thu, 5 Aug 2021 13:51:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxtet2NnXvCzGzxjjD90ymb8zjWJcDRL15vkqnvgNnjfGHyxC1xfyjzeCMLZlmaLNuKMBnx X-Received: by 2002:a92:1a44:: with SMTP id z4mr1681848ill.244.1628196707742; Thu, 05 Aug 2021 13:51:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628196707; cv=none; d=google.com; s=arc-20160816; b=nTh+xWuRMtt4mjAd+M/UaQhtAC8S9N4zWfD2/GueB8uSoivBaji28rof1DB/GkqVNy AEcZZlo5T1mopYYUbh13k28kTn2gJJk353yHaBodpgFXs9+/eQb3GJStLHWAQjjgz5eK 4k3NpTQFM7hgPGAcNeHFJS/pTZ0bfwwULSTaAEbflGOfeIaN2+DHYkf8BkEWNMOqRDFT 4JN54BWs+5hHYXLnxncKuEMbgloBx/Md79r3DYMI9hSOQRRhc6KppnU/Bk6Nk1XPdjX7 dZv3fXw3gA9GPSRoFVBqPPRrg8H+5MhcUZLt0KlpVReSXZ8Jj5vH6b6wxnxCbIHjwtV3 NzeA== 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=rffzDI4dnAhv+1cdVrYAZ4pmLZJJjViop0CrGJLqV8o=; b=ZLngzjk1ZVVfOhH2s3w7LI7JBjpxrsmB3AXZjlSgEBP0PCDiXBpkR119ZFyauPjP0K sFyb+Snj++mq4OmtXpez8ZMfAMEtIqcysGHT1rQWTf6flvh5DX9rnvOhpiNoDenkDBmD M3VeGQawX+b0Rq0X7uMK9f5puLG+Ac+IEXwNJNpnUVmXPJh82BG9ntBlnNbO4XfI5y7q CEwbc+fFco2z6zdtFsZE1bQDDwvyUeH7wt3Hf9zjWIxIpjb9v6iWmjUzN6PMwPy2EgYN m1/WYMncDX0FIA9S1IUxWk90zJhjoPUIyF1//8ceHC5eKjrcTinQRThntsNttK/jpf33 RDAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=IFeKCcM9; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z2si1951925jal.65.2021.08.05.13.51.35; Thu, 05 Aug 2021 13:51:47 -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=@kernel.org header.s=k20201202 header.b=IFeKCcM9; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241561AbhHES6y (ORCPT + 99 others); Thu, 5 Aug 2021 14:58:54 -0400 Received: from mail.kernel.org ([198.145.29.99]:44844 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241540AbhHES6u (ORCPT ); Thu, 5 Aug 2021 14:58:50 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id BF15B60F01; Thu, 5 Aug 2021 18:58:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1628189916; bh=3ObuCvajMVwFZHaW6VfTf+mUS6N2qt4nTWItZGJEjxw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=IFeKCcM9a5RqaPPvJh+1aszzPBb59pCIupK8wH6+bTr9OkibsMFSy//6oJU1awXjp Jf/udtqP5uE1n3w+Yw30gbnnhDtG8WahxONLKVDWrXYg7TFv/EjwcrOlz0rv19KVMu zo0idywt4nTrwyrx7gdMlYfh/yh3un6JXAmitgVIgho7IZ8G20gipGbuIJY3r1NfrT KIr3FQQiC/i03dkbZvVURX6pvRbga2zoZWhJH+WKWWZkeZTWvHuWElOON+PDw2Zcar O8DBZkdwyflA+FgU1Wh2s07VgjbuSlYqQhexT908LcrXvqzuvx7VSrKTYUvDkZckXt tBF7aTYf+Zgwg== From: Nathan Chancellor To: Greg Kroah-Hartman , Phillip Potter , Larry Finger Cc: Nick Desaulniers , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, clang-built-linux@googlegroups.com, Nathan Chancellor Subject: [PATCH v2 0/3] staging: r8188eu: Fix clang warnings Date: Thu, 5 Aug 2021 11:58:04 -0700 Message-Id: <20210805185807.3296077-1-nathan@kernel.org> X-Mailer: git-send-email 2.33.0.rc0 In-Reply-To: <20210803223609.1627280-1-nathan@kernel.org> References: <20210803223609.1627280-1-nathan@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series cleans up all of the clang warnings that I noticed with x86_64 allmodconfig on the current staging-testing. This has been build tested with both clang and gcc with x86_64 allmodconfig. v1 -> v2: * Rebase on staging-testing and fix conflict in patch 2. * Drop patch 1 as it has already been fixed with commit 1c10f2b95cc1 ("staging: r8188eu: Remove all calls to _rtw_spinlock_free()") and follow-ups. * Pick up Nick's reviewed-by tag for patches 1 and 2. Nathan Chancellor (3): staging: r8188eu: Remove unnecessary parentheses staging: r8188eu: Remove self assignment in get_rx_power_val_by_reg() staging: r8188eu: Remove pointless NULL check in rtw_check_join_candidate() drivers/staging/r8188eu/core/rtw_mlme.c | 2 +- drivers/staging/r8188eu/core/rtw_pwrctrl.c | 2 +- drivers/staging/r8188eu/core/rtw_security.c | 4 ++-- drivers/staging/r8188eu/core/rtw_wlan_util.c | 2 +- drivers/staging/r8188eu/hal/odm.c | 2 +- drivers/staging/r8188eu/hal/rtl8188e_rf6052.c | 2 -- drivers/staging/r8188eu/hal/usb_halinit.c | 2 +- 7 files changed, 7 insertions(+), 9 deletions(-) base-commit: d48401b8609ff19db0f461759ac6b5210cd81288 -- 2.33.0.rc0