Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3F39AC61DA4 for ; Thu, 16 Feb 2023 10:30:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230046AbjBPKa1 (ORCPT ); Thu, 16 Feb 2023 05:30:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36876 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230020AbjBPKaV (ORCPT ); Thu, 16 Feb 2023 05:30:21 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B3FAE4A1D7; Thu, 16 Feb 2023 02:30:01 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 2B17261F39; Thu, 16 Feb 2023 10:30:01 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 169CEC433EF; Thu, 16 Feb 2023 10:29:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1676543400; bh=pQgiiYH8YW53nQKkaQLS7CH2z7qDXD8pnYiJrlqLTe0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=I9ECIJlv23U8AB1qrZHhoEmOc69Q/y0+VSSr1mWB5yBYoOZ82K2oxgX3KE8yqezqx pOZc67EOcazyAx5AJuy3gvvBjJlGxEu+dJPC6+P4rr/Fu+7MKnUPRc5m2qjLG1RyRp jKt666HmLGJK5cJLqKvaozTRn9MXEKzCWzP4rULs= Date: Thu, 16 Feb 2023 11:29:57 +0100 From: Greg KH To: Johan Hovold Cc: Corentin Labbe , linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org Subject: Re: [PATCH v5 1/2] usb: serial: add support for CH348 Message-ID: References: <20230106135338.643951-1-clabbe@baylibre.com> <20230106135338.643951-2-clabbe@baylibre.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 16, 2023 at 10:14:57AM +0100, Johan Hovold wrote: > > + if (urb->actual_length < 2) { > > + dev_dbg(&port->dev, "%s:%d empty rx buffer\n", __func__, __LINE__); > > I'm sure I've asked you drop __LINE__. Please be more careful when > considering review comments. FYI, __func__ and __LINE__ are included automatically in dev_dbg() calls so any addition in the string for them is redundant and should never be there (it's also a hint that no one used this debug statement as the redundancy would be kind of obvious...) thanks, greg k-h