Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp5378619rdb; Sat, 16 Sep 2023 14:35:44 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFh3ZZRqWxbkccdajoRxwISafYQu0rQr3LTLkAv4EKjQaGxdq0C1N1U/zyO9BmF+RNsbpyk X-Received: by 2002:a05:6870:64a7:b0:1d5:aa83:c225 with SMTP id cz39-20020a05687064a700b001d5aa83c225mr6706845oab.21.1694900143835; Sat, 16 Sep 2023 14:35:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694900143; cv=none; d=google.com; s=arc-20160816; b=NEtrIeRQRqMTI2dNnlo64rv81fdWLSfTinhnrZ66L9x+J++9W9NQQlnut9kiajjbWu LmkoHyuVnEXDaJQlGViTcUNzsEv0+FNerGHumkIw8Ty8/S9qk6sVfpKpk7LT2IQmTsqz KiwbAisRLzS3xyF6O5neHDwzHMRXKeeEKmUvstdwyVcnwX5yfbSvCB536vuMXAIzabYB 8nEdK5Z3shSs5+KcrnEJO08qcUsVSlFJ4Wg6aeuI0qFIBOQU5gcPfPZXGBmU1fod4qX8 BdZ3zLn1x25Sn3SxStdOWomdzOWwia4+BQ2tk92a0m/yAi5ZxLISC9oigM6zPAtWv9TS A7og== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=Vi+mGijyjbgpVHMNYDnt4aB3+x2apvr+TvA/PakrFOg=; fh=BohBShQDR5AL1sEjLSsmNxBJd3/leJ8cEEHiqhWjYdk=; b=Q1aiHOMyN4pq7QqXVUo3rX3ZFgugiEDY6cdedHCXI0/RqaFjLNbqe8rwoIU4L1Jdyq gpd6vwzMBzyGBk6TybBCZf5ldQ1k5lLaKIt2gKlS83wPMeVSlu0JtkFbSbzfw8TI3CCo Q685c9mxletz1+r+h3L859rXuSZLvBPHXHBxmFJNCs5NR3ET5FajPmj5HP3CfcMRqbEG xxSlCDJ1YljafsgxXqlLyPT+vqDxI0ZZe6TOW+d3E5xOE5/78EbfouX6+Bp+JDgZldly f4HgcVOlSD92ioDPji4hNTiQ6+Hk/HXUZCcp2A6YzbzrsWKAd0UQRUea2m5VZmhwW/NB uuYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="esSQ/R/U"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id q102-20020a17090a17ef00b0025c238650d1si5438607pja.174.2023.09.16.14.35.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 16 Sep 2023 14:35:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="esSQ/R/U"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 5243B82F6803; Sat, 16 Sep 2023 10:42:48 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234778AbjIPRlI (ORCPT + 99 others); Sat, 16 Sep 2023 13:41:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58574 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233392AbjIPRkh (ORCPT ); Sat, 16 Sep 2023 13:40:37 -0400 Received: from mail-pl1-x631.google.com (mail-pl1-x631.google.com [IPv6:2607:f8b0:4864:20::631]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CE615C6; Sat, 16 Sep 2023 10:40:31 -0700 (PDT) Received: by mail-pl1-x631.google.com with SMTP id d9443c01a7336-1c3d6d88231so26728885ad.0; Sat, 16 Sep 2023 10:40:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1694886031; x=1695490831; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=Vi+mGijyjbgpVHMNYDnt4aB3+x2apvr+TvA/PakrFOg=; b=esSQ/R/UXRrISTnfHGNO5eJpgO8SKyN4lgfZxax+3X90Zm5CQDwaEQxXEQDpc130WD z3BmzJ6hSicQ8Ni2xUuroWsSkbqEnFvxgXVOCsFTKqeEGfMIz3ri0DF8kYhmFYtn5bXf ouIr57nna95ws/SfzC9aNDBIXyhMq4b7aTCREXbucz4T6Hojqs8XxyN1pKeu/d6+3XQg 6OdGlhyma0r7EsOzjuTtxozhIInUe7xtqfcLLJ6rf+y4gLG0AukOfjSgabhKyPSWzKqY ig1Kw8MxYQNoG9rRKGS0aSA0U6qpKUaWmKIYealR0LarW5tGdYb66t25p/7d+uOnebFb XfHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694886031; x=1695490831; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Vi+mGijyjbgpVHMNYDnt4aB3+x2apvr+TvA/PakrFOg=; b=RYnuFpemVeI+CDa0MUTr5lPRmmB2+2KDHy0Q/51Bao9e4Y6Q8DZhv0xy1g+5aMOQnF d7wbwf//WmS+QcQmgRSUUQqdkJoe9/xj5ueoGh9Tfqf0itXNSs8n5U2s9jzt03+Hfu/O hwqWqWiRD6EXivbBhWMgAs6Wv7vDqhj4gGwSmu05L4cnBwv7RMkx1Pf/sJ6eVDtYL9v9 YigxzQY+9I8or1avBncfoZB8mrfW3ANnwh0PF8Eie9PzfWIrpX3+NpU5jQTBFPjww8Qt QNSDicWdiianQxJrEl+1I4ASka10psdeDgY7ymCf+lPCRt7q6DXYsVDWbw0vP9QL6OuU bzRg== X-Gm-Message-State: AOJu0YywiqklHAincxbFCai4UR5eqcpKduJTXcOYvxMdsrfVjylFWEFM BHQkM93wk3sOTGh6sbCInGQX7U2mpsc= X-Received: by 2002:a17:903:182:b0:1bc:6861:d746 with SMTP id z2-20020a170903018200b001bc6861d746mr5288831plg.58.1694886031248; Sat, 16 Sep 2023 10:40:31 -0700 (PDT) Received: from brag-vm.localdomain ([117.243.88.184]) by smtp.gmail.com with ESMTPSA id i9-20020a17090332c900b001bb9bc8d232sm5481513plr.61.2023.09.16.10.40.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 16 Sep 2023 10:40:30 -0700 (PDT) From: Bragatheswaran Manickavel To: valentina.manea.m@gmail.com, shuah@kernel.org, i@zenithal.me, gregkh@linuxfoundation.org Cc: Bragatheswaran Manickavel , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] usb/usbip : fixing warnings in stub_dev.c Date: Sat, 16 Sep 2023 23:10:20 +0530 Message-Id: <20230916174020.3218-1-bragathemanick0908@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Sat, 16 Sep 2023 10:42:48 -0700 (PDT) Fix some checkpatch complaints in usb/usbip/stub_dev.c Signed-off-by: Bragatheswaran Manickavel --- drivers/usb/usbip/stub_dev.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/drivers/usb/usbip/stub_dev.c b/drivers/usb/usbip/stub_dev.c index 9c6954aad6c8..3a5771f74a3f 100644 --- a/drivers/usb/usbip/stub_dev.c +++ b/drivers/usb/usbip/stub_dev.c @@ -495,24 +495,25 @@ static void stub_disconnect(struct usb_device *udev) busid_priv->status = STUB_BUSID_ADDED; /* release busid_lock */ spin_unlock(&busid_priv->busid_lock); - return; } #ifdef CONFIG_PM -/* These functions need usb_port_suspend and usb_port_resume, - * which reside in drivers/usb/core/usb.h. Skip for now. */ +/* + * These functions need usb_port_suspend and usb_port_resume, + * which reside in drivers/usb/core/usb.h. Skip for now. + */ static int stub_suspend(struct usb_device *udev, pm_message_t message) { - dev_dbg(&udev->dev, "stub_suspend\n"); + dev_dbg(&udev->dev, "stub suspend\n"); return 0; } static int stub_resume(struct usb_device *udev, pm_message_t message) { - dev_dbg(&udev->dev, "stub_resume\n"); + dev_dbg(&udev->dev, "stub resume\n"); return 0; } -- 2.34.1