Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp4397752pxb; Tue, 25 Jan 2022 09:27:10 -0800 (PST) X-Google-Smtp-Source: ABdhPJzjwX4cRQ9PF236bkaqOmRcrWCG/BBRn2HVhViDcbI5Lua4hPHgikdP+AGhEZ6/gYc73mf2 X-Received: by 2002:a17:907:8a1b:: with SMTP id sc27mr16467367ejc.448.1643131630028; Tue, 25 Jan 2022 09:27:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643131630; cv=none; d=google.com; s=arc-20160816; b=al2tajSX/tg0EAOLRbCvHDGoHy4W5fbLVFNB+yG1VLSTQir3rAGxcjhw+6GVlMI5pj Qi2pTtpQhmPQ3Ns1xyR14SXya2EunDqHfVbZpuBRNwU37PZpkAOxw1Phj4f4JonZk3Xc W68tNO1N4myshVuChTdm08b0082/rJZ9BNvNLoPqkiEQH7HhrxGUuyLnx7RWmvmA9sNF HxZKxNVR7q6wpvi9nFdbfKjiXeoeF+Q7pO4ivz1MmdkB6GAnYHHsoUUqSsotrvpsdU7z NmKRm7yfVn1D0ABlnNZWbcxyWM82YiardPPwfvMvFzUcVOSlkVR8N6MLSKrMOW4QB9ud piEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=ZAMOdaZV3kaz6DNePCCcseQo6HQuQu7Jogq542aV50U=; b=yLFU36pFGGZ0dLpyv22wwL/WBRjcO7ust8M6Dyy3UxICph0pxCVFTnZ2o8h20kK/P7 DrDhDHb1A4/YBeQMJ3TXeeb3cYL3G+ZKy8ncJ/pvxF/VGkHmL0VSKyhCQuHPxoba9GgQ D3lyukT80lVv7c1GfY8DFskoF8rVyaRDc+3M/hb9v3nlxNkoMJS8V7SUH7aOtktV5ppv alrGmAW75YpFeb0U/sUDkXXNIZgfvD1siTad7FZeUZUMtb5zw5qKhioqkF77Y8mblyZd HKVP3h4Uok2wYKyLp0yZQqI4CMt6T6Gd7PI10H8CbEWpZvmzMSO4UaPAzOy3R9lVHN9N d1aw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=kZymcFPi; 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 w14si878452edd.105.2022.01.25.09.26.36; Tue, 25 Jan 2022 09:27:10 -0800 (PST) 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=20210112 header.b=kZymcFPi; 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 S1384255AbiAYMvH (ORCPT + 99 others); Tue, 25 Jan 2022 07:51:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42196 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1457057AbiAYMsg (ORCPT ); Tue, 25 Jan 2022 07:48:36 -0500 Received: from mail-lj1-x232.google.com (mail-lj1-x232.google.com [IPv6:2a00:1450:4864:20::232]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B9607C06173E for ; Tue, 25 Jan 2022 04:48:35 -0800 (PST) Received: by mail-lj1-x232.google.com with SMTP id q127so1801429ljq.2 for ; Tue, 25 Jan 2022 04:48:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=ZAMOdaZV3kaz6DNePCCcseQo6HQuQu7Jogq542aV50U=; b=kZymcFPiqTrN6lay77u5I0pKKqy2ePROp3bdw2vGb8US+M0sWOhNhaqYtxFsK6XlWR dIQRE4DeBE7TxBj+NGMkPXgtz76s9jy0dTstR5MrSue8bnRaJabAw6uhlwpqeLFFFAOR ZSJGt/PXAZVjf93sLfwIsbvGJij0XBJn1vZ5CvU81dBY3+B/ucKnTRHhZmPKQWk7PBJL hSussOi/wXrQjzlqTJNsw9XWl6lJGHw7zpQukUEqWFlCCXNoDRgV9Igurb14+aQgCA/S G1k+kySrajDS+Mua7l6UXeEFUGgGUuKSpMtI5uH4iyI7on+g/9Of5mmWaf2TEhQfDQei lIcQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=ZAMOdaZV3kaz6DNePCCcseQo6HQuQu7Jogq542aV50U=; b=QCRAtz56GyhKRKHCuBQ6NrEwZwM1NCCryyzaukRQU+HSrSY+WRAD8fzz/wkXnOFkB+ WV2oO0dNk4WJkHKULFjx8qZup2Pm/YnlzcKkv6erGQ025vfLcjhSnGNpQsAdCODBIPuF lrwxlEjTyTI0tVJbmp83YaRPsVATdvQztsI17pIb1ZG0Dlfe94fX4Ctz62yqs1kcI8oM Ts+MJCN0BcVOCurgWtmjS9L+QBN8lfrNNrphdD9L+Ndsr09fj0AuGJg1i2UYTRccHHDW 2NgpUYKLw2B4jrr6fagTcKnvApsRKyp1gbfdH+1Gb061UKMVIoCnF3b6H3/pyqJnDdOw GCwQ== X-Gm-Message-State: AOAM532EEiV1KZJIF/AWD1ODZ3ScKsNRl44A1bScCD3DIjYBw4VaJXwF p2mNvuUqPxyfILo8YfBQ52k= X-Received: by 2002:a2e:22c6:: with SMTP id i189mr760695lji.496.1643114914006; Tue, 25 Jan 2022 04:48:34 -0800 (PST) Received: from [192.168.1.11] ([94.103.227.208]) by smtp.gmail.com with ESMTPSA id j23sm781579lfh.35.2022.01.25.04.48.33 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 25 Jan 2022 04:48:33 -0800 (PST) Message-ID: <67ddc4d7-e19f-7c9d-a4b7-4eb555830ea1@gmail.com> Date: Tue, 25 Jan 2022 15:48:32 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [PATCH 05/10] staging: r8188eu: remove smaller sets of DBG_88E calls from os_dep dir Content-Language: en-US To: Phillip Potter , gregkh@linuxfoundation.org Cc: dan.carpenter@oracle.com, Larry.Finger@lwfinger.net, straube.linux@gmail.com, martin@kaiser.cx, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org References: <20220124224415.831-1-phil@philpotter.co.uk> <20220124224415.831-6-phil@philpotter.co.uk> From: Pavel Skripkin In-Reply-To: <20220124224415.831-6-phil@philpotter.co.uk> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Phillip, On 1/25/22 01:44, Phillip Potter wrote: > Remove all DBG_88E calls from the os_dep directory, other than those in > os_dep/ioctl_linux.c, as this contains almost 200 on its own so will be > done in a separate patch for ease of review. These calls do not conform > to kernel coding standards and are superfluous. Also restructure where > appropriate to remove no longer needed code left behind by removal of > these calls. This will allow the eventual removal of the DBG_88E macro > itself. > > Signed-off-by: Phillip Potter > --- [code snip] > > - /* 2012-07-11 Move here to prevent the 8723AS-VAU BT auto > - * suspend influence */ > - if (usb_autopm_get_interface(pusb_intf) < 0) > - DBG_88E("can't get autopm:\n"); > - Didn't you make a function change here? I didn't test and also didn't find any mentions of tests in cover letter. I am asking just to be sure you done it not by accident :) With regards, Pavel Skripkin