Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3486841pxf; Mon, 22 Mar 2021 07:34:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxSkOpmUWKfmeOxvSBOWbG+5SZNQOawP0IkwE3wBSlEYR3HOn3ra6oUAtn9p8h25qcyHLl3 X-Received: by 2002:a17:906:4117:: with SMTP id j23mr81702ejk.10.1616423641897; Mon, 22 Mar 2021 07:34:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616423641; cv=none; d=google.com; s=arc-20160816; b=LLF+vSfJAY63bcBcKM09603Ppv8z3h12zBgugSUaORYE54pHnMXOYylDA4wG/arIU0 MxpF6wD+40pG4tKWjLLnCLZ1GK9whgiJ2AqD2Oa1Qa/o5mzjYtpglmtfoZVC0IDqWdbO +FsPhQhR7rNcIvUEbG1ed6MoyW8rZHZvDjIX8CZRUXM3m186xEymUuZSMIoF9glEGPxc /wCujnVMIqnKLfA6UFSXnz2IAqkzJJDLdD0smdkA1dmok4iqPx7xXUW7j2ZwYXNn6SOt 7FiZ1Hgz7+k4z8gM7g3lKVpzzhvBWSVeSFEVGfA+2Lilll5eTPZ1cJk5q5OHEscKWHr8 1Nmg== 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=uKw0Cn2bVUGNBja2BXUS2+diqo/9Y5C7FlOuogFpzRU=; b=ibz3RA+7R6lg/hwp+pnroxT1DIovt7wGBebJOsNAkFacWe/CH0GVfWJL9dGi6br/aI /hyAT4ExwuLWN/7lsKANYMeitpPxKKTtOBiGbvKTP8HEufj/BDDwGJp3iAh3icBdM6oO p636cIVe+0OjdOy+5tErsOBFemU77vzJH4NoI98oSYyehwDs7UnjbAHruTJS2ZMWlPax MIIIcmUJwNLoaKfqNy+WA6XrdETYqrmSMWssWruDOH618cVe5fO7S/hrdUYhtnIn0vWF k5f5wPlHf5uw6SqukrdiqYxLfVXBVkfi2RD8qKRBULU5imuFnc+uHGABNMM2TfEUuaQo LP7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=OG+WbZ8x; 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 39si12252908edq.111.2021.03.22.07.33.39; Mon, 22 Mar 2021 07:34:01 -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=OG+WbZ8x; 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 S230260AbhCVOcS (ORCPT + 99 others); Mon, 22 Mar 2021 10:32:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50002 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230363AbhCVOcK (ORCPT ); Mon, 22 Mar 2021 10:32:10 -0400 Received: from mail-ed1-x531.google.com (mail-ed1-x531.google.com [IPv6:2a00:1450:4864:20::531]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2291EC061574 for ; Mon, 22 Mar 2021 07:32:10 -0700 (PDT) Received: by mail-ed1-x531.google.com with SMTP id x21so19609118eds.4 for ; Mon, 22 Mar 2021 07:32: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=uKw0Cn2bVUGNBja2BXUS2+diqo/9Y5C7FlOuogFpzRU=; b=OG+WbZ8x4tSEntH3GU6lZ9t+gPMinmyYorq5TPfaytK92P2Wu6+Jv/5COZfyrJ3pMv Y9usal3lsnmTndA2ej0y1P+thj901XSQebg7palEo3vif4Hxs48gcWnLHvUbjCgTl5rQ p3NvpuTO57xNWy0T9CXf5KqLbMxqGDv6luJFuU6de3r6friwp3GjP/0vqjw+3WVOqme7 s/I8cjA4DWf7vsfIMs1qTGMkc6aK0wlad/oFfXJwzIik0Hg/zbCvFwH9LDbe4tmqHgl6 t7ANNMYsqjMcXqJ5utFV1Ex6wLLPZYaVbC+NlKYxQ2YlqKH0Fv6R8c966NHQ808fWXeQ L0ag== 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=uKw0Cn2bVUGNBja2BXUS2+diqo/9Y5C7FlOuogFpzRU=; b=S8fkp3LcrJ6PHH2xWfvo13RqVbZ4SCldLPl8tOJb3ECMJ6Z9R9Tl3wkOOtC2AV/P1E dGSY7rbyyrugkQ4UHTv387wVxizprKCeKZs0iy4bQn0jmpIhgDrJuUPgVSqPhpndxSHl 4p5TmkGceoqx4amqdt4a9YJq4oW30pXxdRBYgxShg3vpHtm9YCUOWUasA7Pou/pS/9eo dqas11ZKJz5demyf2jqC+flo+fFZQBOxCT2qfqMBckPHsbCrhxR5yT2CdYf1Z+A8hI6o V/fLOpoeeG6Kgdf0zgEltr3YLhArx+NiOvYTO1otz4x9BYtMD7nbvWVazCB87B9EE3AE yXcQ== X-Gm-Message-State: AOAM532QgBPTPkpSnfn1uZBDSNIt9KkU5wCFzj5eLcmrOVIkvkvzxR6I F4hAKHvg82CknheN4t8odgo= X-Received: by 2002:aa7:d484:: with SMTP id b4mr26269816edr.63.1616423528964; Mon, 22 Mar 2021 07:32:08 -0700 (PDT) Received: from agape ([151.57.176.11]) by smtp.gmail.com with ESMTPSA id r17sm9948696ejz.109.2021.03.22.07.32.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Mar 2021 07:32:08 -0700 (PDT) From: Fabio Aiuto To: gregkh@linuxfoundation.org Cc: joe@perches.com, apw@canonical.com, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, Fabio Aiuto Subject: [PATCH 01/11] staging: rtl8723bs: delete extern declarations in core/rtw_ap.c Date: Mon, 22 Mar 2021 15:31:39 +0100 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 delete extern declaration in .c file (RTW_WPA_OUI) and fix the following checkpatch issues: WARNING: externs should be avoided in .c files 14: FILE: drivers/staging/rtl8723bs/core/rtw_ap.c:14: +extern unsigned char WMM_OUI[]; -- WARNING: externs should be avoided in .c files 15: FILE: drivers/staging/rtl8723bs/core/rtw_ap.c:15: +extern unsigned char WPS_OUI[]; -- WARNING: externs should be avoided in .c files 16: FILE: drivers/staging/rtl8723bs/core/rtw_ap.c:16: +extern unsigned char P2P_OUI[]; Signed-off-by: Fabio Aiuto --- drivers/staging/rtl8723bs/core/rtw_ap.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/staging/rtl8723bs/core/rtw_ap.c b/drivers/staging/rtl8723bs/core/rtw_ap.c index a01b68274fa0..3cd9c61eec99 100644 --- a/drivers/staging/rtl8723bs/core/rtw_ap.c +++ b/drivers/staging/rtl8723bs/core/rtw_ap.c @@ -10,11 +10,6 @@ #include #include -extern unsigned char RTW_WPA_OUI[]; -extern unsigned char WMM_OUI[]; -extern unsigned char WPS_OUI[]; -extern unsigned char P2P_OUI[]; - void init_mlme_ap_info(struct adapter *padapter) { struct mlme_priv *pmlmepriv = &padapter->mlmepriv; -- 2.20.1