Received: by 10.192.165.148 with SMTP id m20csp4184072imm; Mon, 30 Apr 2018 13:23:56 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqBgDEBWWIY7e4gjo6VlnkqAuIwHz08l3QqEWixgDo3pGcVtYn1+fns2C+QjdHuEoSJV0hA X-Received: by 10.98.89.89 with SMTP id n86mr11815888pfb.217.1525119836414; Mon, 30 Apr 2018 13:23:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525119836; cv=none; d=google.com; s=arc-20160816; b=DLUO5zLkOgNQEDxcBA4j0NkDMmiylU0vvTPBUpnfgiKJ75EVv83JaYoig49sB2Lvu4 b26w3f5z8xq7ivDOHuWngxhM15JVmqrcTyJoqx6jZxh6zyKV4wzyzv/uq3rSIL34l6cE bn8efBpLxAgGly+lDDAbf8lIPVJoYgvo2263GrjiVMphGd6uQS6UWou2p5lPQgTw7Tpm VcB4HtbWKs5em+yGhyZZqLU/vRvtpDyEvBZRsUDSecbNoDBAiS1UQjCylxXXQ81/gDBh HRED+a8VspLF3kcVi4K5Kew97ChqmDE6DkGnELdEhYFuBIs84/f2LghQJ/DAJMlwbeaX sjNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from:dmarc-filter :arc-authentication-results; bh=zblw5X5E4FMPQXso6RcYuFnEnbZnfpvzJ7h1wOO/t90=; b=GgYPL/AI9N3EZQCm/07yGN0oj4WwKUr+fNLTd2/S07zGBu/9XqfN1SkdD6Lhl7H2JZ bbyuNzfAZpHKIWg3AM9OBXM2SntAGE0kXmX/nqnTVy4fqZlCBJbzOUQynDT2vHH6rLhW Y0ICm+RcXhHJlQqMfRfy6d76WnYBql3rLxBCF3Huel5VlQ1Lw70S18Bvw5NSyZqc42az vrZmOXsFRV94k6Wp9t9x1RHc95IcV3s9ULh1rRWqE13LNH/tkj+XAkvMLaUM5VJO4qTv WxuHT3ibI1G9nJpOVaLk8cdsZAT3SK3gjZsOuqA+YIhL6v78InHvwNLu+ysoroQvr0xi 5dXA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k185-v6si6660661pgk.2.2018.04.30.13.23.11; Mon, 30 Apr 2018 13:23:56 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756002AbeD3UXD (ORCPT + 99 others); Mon, 30 Apr 2018 16:23:03 -0400 Received: from mail.kernel.org ([198.145.29.99]:60484 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755635AbeD3T0h (ORCPT ); Mon, 30 Apr 2018 15:26:37 -0400 Received: from localhost (unknown [104.132.1.102]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 129C422DBF; Mon, 30 Apr 2018 19:26:37 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 129C422DBF Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=linuxfoundation.org Authentication-Results: mail.kernel.org; spf=fail smtp.mailfrom=gregkh@linuxfoundation.org From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Shuah Khan Subject: [PATCH 4.9 08/61] usbip: usbip_event: fix to not print kernel pointer address Date: Mon, 30 Apr 2018 12:24:11 -0700 Message-Id: <20180430183952.029390304@linuxfoundation.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180430183951.312721450@linuxfoundation.org> References: <20180430183951.312721450@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.9-stable review patch. If anyone has any objections, please let me know. ------------------ From: Shuah Khan commit 4c982482341c64f55daf69b6caa5a2bcd9b43824 upstream. Fix it to not print kernel pointer address. Remove the conditional and debug message as it isn't very useful. Signed-off-by: Shuah Khan Cc: stable Signed-off-by: Greg Kroah-Hartman --- drivers/usb/usbip/usbip_event.c | 4 ---- 1 file changed, 4 deletions(-) --- a/drivers/usb/usbip/usbip_event.c +++ b/drivers/usb/usbip/usbip_event.c @@ -105,10 +105,6 @@ static void event_handler(struct work_st unset_event(ud, USBIP_EH_UNUSABLE); } - /* Stop the error handler. */ - if (ud->event & USBIP_EH_BYE) - usbip_dbg_eh("removed %p\n", ud); - wake_up(&ud->eh_waitq); } }