Received: by 2002:a05:6a10:8a4d:0:0:0:0 with SMTP id dn13csp182871pxb; Thu, 12 Aug 2021 13:50:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzgxCMkEg0iU3DKZ0YrHNBm1ZnHAVl0FeBanD8Z0Uso4S0q7VZfe18pu/pnu9Fgz1OQLnQt X-Received: by 2002:a05:6e02:2188:: with SMTP id j8mr161378ila.66.1628801448720; Thu, 12 Aug 2021 13:50:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628801448; cv=none; d=google.com; s=arc-20160816; b=y/sUSVxPK1WkP8rUOJdNdYelGHL+NajRmyMttDny/FYl3rsTsbqiE0t7ejBb9YdPG2 J6MxSX5k19mYgwUWy1Mpint1ThR++9AUZmbS4jBkKqJ76UuQAnux0xSRHqWF5oIhYi9y iTin1ReNN4qupea3yIG3nv/RZyG2dVw7FILl2i8f7oj7gSyy5uZdyF+qhhhoRNOdqJy2 IA4eY5Z19PXBoICWp5aEL1+vb1mP4ofE8KDUgm/3kpJ1D0FD2o7THXvNPG/ofBd6rvNv F1pMckGdJXOBD4KjvmaVfGuauvwsW62ytfIb8F/K1YObvX89YqCnQ4D3VxQDFhtB4rFi 542A== 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=BqqmQR2Wche7IF3wnb6G9gVH7BTU2tcXXClUhJ338n4=; b=E2Ezozgoff6uS74Jw13C/CrjKT5Ni3u/BqK57rR9euItObAi+I99ZWDUKEuUnzTw8+ 5sQd4HyYQPK2WkOkxHgork/yksB6A7hOb0HY7OQ9kvsjbvuXry4Tsr8zGvt+36t/yeuA 41atYSccBry8EBUTwoLKGpxxO4NJrxyrhlW7Da4Sdgr4+7WA3pEMdWpFbVb+fD8+VOPK P/M7++z+c6MH+l35c8G4RDysxmQJVRmnWRNkAVxtJ38ivjQgOxiCf9oRTfz++PDXUxTg pYA/bLoqCl1S9FdT+F6s8pAM5jWTnkBFGDe8bBw1fiEPOgBuw0bB8jMk7CPbStnJKsxF 998A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=alr8zDCr; 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 n19si3965523ioh.29.2021.08.12.13.50.38; Thu, 12 Aug 2021 13:50:48 -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=alr8zDCr; 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 S233425AbhHLUlL (ORCPT + 99 others); Thu, 12 Aug 2021 16:41:11 -0400 Received: from mail.kernel.org ([198.145.29.99]:39252 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232796AbhHLUlH (ORCPT ); Thu, 12 Aug 2021 16:41:07 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 390CA610A8; Thu, 12 Aug 2021 20:40:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1628800841; bh=pOWEY6Ktdp1G7W+1ThMMk8U6CvERPSJjoDwDwD8AddM=; h=From:To:Cc:Subject:Date:From; b=alr8zDCrwIhpMD5GkS3UlyRFebHIL2K6RWJhHlD82FT046cufN7ZgBt3ommH/6Ay+ aWRFAt92K4shVGFNLY7/r/UqGCX+tn1CkhUeFq3VBvtNoq/bPgz8gI9y0jXn8cPC2s GS/HHvVqHHeDNrsfUBeEWnrOodJiNJkLUsmsq4SpphGdXkk3O0oLPgP9G6bjlYdxLC ukPsfe7NXVu72ZEtzxVN5TNeDjTNlqndYKUEfFc6Iownc/UyPNoWlNCm7cHrWBalH1 qj66G6niAXBjufoZKjtvluaI42egcir8reTklUU2dKmaKifVbTetEFviwuIoSleMK7 1jh34mL53G6uA== 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 0/3] staging: r8188eu: Fix -Wuninitialized instances from clang Date: Thu, 12 Aug 2021 13:40:24 -0700 Message-Id: <20210812204027.338872-1-nathan@kernel.org> X-Mailer: git-send-email 2.33.0.rc2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi all, Commit 987219ad34a6 ("staging: r8188eu: remove lines from Makefile that silence build warnings") exposed some instances of -Wuninitialized in this driver. This series cleans them up. This passes my build tests with GCC and clang against x86_64 allmodconfig. Cheers, Nathan Nathan Chancellor (3): staging: r8188eu: Remove unused static inline functions in rtw_recv.h staging: r8188eu: Remove uninitialized use of ether_type in portctrl() staging: r8188eu: Reorganize error handling in rtw_drv_init() drivers/staging/r8188eu/core/rtw_recv.c | 4 -- drivers/staging/r8188eu/include/rtw_recv.h | 46 ---------------------- drivers/staging/r8188eu/os_dep/usb_intf.c | 20 +++++----- 3 files changed, 10 insertions(+), 60 deletions(-) base-commit: 626520f4ba27d92c8caaf2d1f70c4bca4ea3f9de -- 2.33.0.rc2