Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp880108pxf; Wed, 7 Apr 2021 14:01:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxcn2K8wQlXr3kM1ep2uj1kI7w0pOYXoB1ZFMfUhU6AbODhaRYQiWztmivnWgR9dP5cWt6X X-Received: by 2002:a05:6602:2ac4:: with SMTP id m4mr3979431iov.41.1617829287942; Wed, 07 Apr 2021 14:01:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617829287; cv=none; d=google.com; s=arc-20160816; b=QHYIAbk3E3V8JxLsZ7GklUBoKnSFCPMQp96KuBRS0cT8WBoRyqvcxlnd2HPWXH9gVT 2RArNqlzaI/tv2rnY2Lw94lG0UipG9YUuRi/HXisSUP6VFZ7c6vjNjSOPXOhQsbSYQ3g CsUugffgTvVNjdOuhtSD+f2SxaiLVYv7OEcizk1cyt7lZ+hTnBKPc+b0aeAYk0Uuzmbk fpOqGjrT56LVy5HrXY+mB+5k4or7GngjRtrhJSx9Nm7knBhkKEWxzMmt2fkssT5CNKqx Ir1XXGut/j+4GJKb6mlXaeI6LnBbxMfULuQ2w3RCibo/kpEn/x5JALjn/LNudSXnch7V LNrg== 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=dkjimhjDd9u/y2YdPJ4t6EDrMe97yh+nEoGhNNKYzQA=; b=yJMNNoS+7GUYl5e1l5YL/NNtWrWi6tJkXGffdsqStG/rb1QWiY9RRqo7Dq09y9OjJq D5DW8Vfr7E1tlqXjN72hgnu0J+/CbmJHAFkGw30KyGN5UYN7Iesb78noMw55rblrGXIy Hj7I3Tk4rGV1hRhRtRmpRiAQIUk2h0uxVBl0kq6zHMJ6+7ABI8cHN7GXgb9Ptz8JGXPR kiJFghBo4eDSRV29D8WM6G9pvJJF5exjZ/dv+aTCFFMuZI5XzG2diZwBUUtJQNNl/oW0 a3t9+BWbOHa6JDO/3eB0BVJgrqq7Hhbcm5iYfUcm62XeSAILiLeyqNlq5DfjwHGR7XOb +cnQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=dYwi0iet; 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 c1si21528150jam.95.2021.04.07.14.01.15; Wed, 07 Apr 2021 14:01:27 -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=dYwi0iet; 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 S1347590AbhDGNuI (ORCPT + 99 others); Wed, 7 Apr 2021 09:50:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39222 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347588AbhDGNuG (ORCPT ); Wed, 7 Apr 2021 09:50:06 -0400 Received: from mail-wm1-x329.google.com (mail-wm1-x329.google.com [IPv6:2a00:1450:4864:20::329]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7557FC061756 for ; Wed, 7 Apr 2021 06:49:55 -0700 (PDT) Received: by mail-wm1-x329.google.com with SMTP id d191so9062057wmd.2 for ; Wed, 07 Apr 2021 06:49:55 -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=dkjimhjDd9u/y2YdPJ4t6EDrMe97yh+nEoGhNNKYzQA=; b=dYwi0ietfEob54IKIQye9xDmJmJNeltd1q1eFzgnbXjCf4xQ02Z/71Z917OvAiF1RX m2W+ZD4Cy6ZVNTpfUkEXEG7XE1wp/xEPtnfH1QX70n/MMfS52JtCzDnyWVnayvMUTtjQ DNnoWwSvkdpirBNHdOUv0X1ObSgCtKO1E6R+j9KhGAap1Tej+hOmYKkyU3qUGcsupsj2 ROCR0aIKG9X1p9Kl3fNCa1JaSUXQcplNsuQoGzvfSw+g324d8aaggeUapi+pjGCguO5L oEMgBLWAwBjPd8bKizNjj2KnPAmarmwrS8QSOtEDeLtO2Z//eHInLHPHBOxk1TFCdnLt ww7Q== 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=dkjimhjDd9u/y2YdPJ4t6EDrMe97yh+nEoGhNNKYzQA=; b=gQIg0V2C8ycZk85l73/U0Ws3Y6WLrr/AF+JZTUJ/czQTtj1tW6zCP4C/Su+PaUTqAy 9LIDGr8vIOVxRx6Gc/MawnsJ8MF+0+zEYkNILQEDW79UErqur8kXCeyY773cNtdRoj3z bLfpk10lv/A5LlnZQ1sBMh0jOZgxOlTIDZ7SYYW1rFZN/mrQB8WExcW8mxYPc384OnCm JXFMOSC6nS9S7XobSLG7l8SGkTVVQSdOyDBj+2U9YmUqUF9ch8o2Cjv+80l2G3iNn/9g Z+Y8B0JdJAiaE1/v3ChM3coT1eFXUq7uI9VDMItxks+lHPr5tTZ/grZaSRruAwQ5Pc5h 30pw== X-Gm-Message-State: AOAM5319JQuWBagxw5ZKEJAxQ5cYGjtfZLkZnD3jf19CX7Edzv19753I 9TqRG2JD+dg/k4s40bFe2skuDkzbmZvR3A== X-Received: by 2002:a05:600c:4103:: with SMTP id j3mr3168538wmi.175.1617803394209; Wed, 07 Apr 2021 06:49:54 -0700 (PDT) Received: from agape ([5.171.81.68]) by smtp.gmail.com with ESMTPSA id o14sm31915253wrh.88.2021.04.07.06.49.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Apr 2021 06:49:53 -0700 (PDT) From: Fabio Aiuto To: gregkh@linuxfoundation.org Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Fabio Aiuto Subject: [PATCH 01/19] staging: rtl8723bs: remove DBG_871X log argument Date: Wed, 7 Apr 2021 15:49:25 +0200 Message-Id: <3473925ae9ee5a3bcd0ab86613dbce80b6d3f33f.1617802415.git.fabioaiuto83@gmail.com> 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 This patch prepares the application of the semantic patch aimed to remove all DBG_871X logs. One occurrence of the DBG_871X macro has one repeated argument, that's not even comma separated value with the previous one nor a format string parameter associated. In normal conditions this worked, for the macro is usually not expanded (the do nothing behaviour), but if I try to apply the sempantic patch to remove all macro occurrences, all macros call after that abnormal declaration are left untouched (not removed). Remove all of the DBG_871X logs as they currently do nothing as they require the code to be modified by hand in order to be turned on. This obviously has not happened since the code was merged, so just remove them as they are unused. Signed-off-by: Fabio Aiuto --- drivers/staging/rtl8723bs/core/rtw_recv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8723bs/core/rtw_recv.c b/drivers/staging/rtl8723bs/core/rtw_recv.c index eac663119290..f18a7afcc0d3 100644 --- a/drivers/staging/rtl8723bs/core/rtw_recv.c +++ b/drivers/staging/rtl8723bs/core/rtw_recv.c @@ -823,7 +823,7 @@ static signed int ap2sta_data_frame(struct adapter *adapter, union recv_frame *p #ifdef DBG_RX_DROP_FRAME DBG_871X("DBG_RX_DROP_FRAME %s BSSID =%pM, mybssid =%pM\n", __func__, MAC_ARG(pattrib->bssid), MAC_ARG(mybssid)); - DBG_871X("this adapter = %d, buddy adapter = %d\n", adapter->adapter_type, adapter->pbuddystruct adapter->adapter_type); + DBG_871X("this adapter = %d, buddy adapter = %d\n", adapter->adapter_type, adapter->pbuddystruct); #endif if (!bmcast) { -- 2.20.1