From patchwork Mon Dec 6 08:12:27 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: yanteng si X-Patchwork-Id: 12657757 X-Patchwork-Delegate: kuba@kernel.org 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 CC922C433FE for ; Mon, 6 Dec 2021 08:14:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238980AbhLFIR2 (ORCPT ); Mon, 6 Dec 2021 03:17:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42690 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238981AbhLFIR1 (ORCPT ); Mon, 6 Dec 2021 03:17:27 -0500 Received: from mail-pj1-x1033.google.com (mail-pj1-x1033.google.com [IPv6:2607:f8b0:4864:20::1033]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8DBD1C0613F8; Mon, 6 Dec 2021 00:13:59 -0800 (PST) Received: by mail-pj1-x1033.google.com with SMTP id j6-20020a17090a588600b001a78a5ce46aso10232318pji.0; Mon, 06 Dec 2021 00:13:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=n11Fgm6HIUp815Ejz6fy/o0RkksnlLFrEoqWKlN2XYk=; b=VU+cLiPDtOCoS/xVmYT97UFygNNSc4U6aqdqobLAkb4lCYK//E3Hl+VxIltV4C2y9o 6GGIrTtY5nns06bOP1w/yefcuGm8oT9p4iOywsbHXy2UfLk6QqcVZpGMeCCazZSS7fqq rv8t8NNFfCbyCh8seI0xIpDTYUYzSGHc+eQ/cqh5Wx8DB17QXQTV5yaCTbA3D1vUMq8H ThhiFfb7RVf7D6+HhMJ4LG4XRtbaP8YKIC3OANpK+w5s8lZ0OpZoYUmWUQ82toK9uWMZ hEt9erY2X3djJVzwxhxFJDZ8NVMA3A4tNx6OC8dL13FsEksOHdyDmfoveur7kW3pzAC8 DJbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=n11Fgm6HIUp815Ejz6fy/o0RkksnlLFrEoqWKlN2XYk=; b=qpUB1xEajmE8X336VOwH5gRkJnpGwPCoHj8tti3QYzBmyINFmZcghu2CAnWFTA5P3x 896O7A3mJlauTqcUsgmaNrMT56ndrBMzTm+AefMK+Ikm665CoHNdMOScHqWpKvKLdvQX Jc//g674s9Ox6fcBbeNoJHiGRwQko558luyVpAb3QVqA0Rq1Expn5eE9jfBihB3d8Nus CkeAJskSdLijMb10orXbxOV8V6v4P0grED/dcv83A4yce0MOhrEzgc+DD6kriQYuCglc 2sOXKwJRTiWULzocTndJH6bNEVO08AEpi5GEj5P1nwr+qx2ndfOGveEuCpnL63Uc0D9t kpjg== X-Gm-Message-State: AOAM532zbx2N+TYkkUxx4MCFEoyKawaR6I9vefwidWzrhcIZ8X49LZT8 Smtd4V4OjOxJKXUTvFo0Bm0= X-Google-Smtp-Source: ABdhPJzTrNZVBrRh9dvsw5yjQNmgqDCjeZAPACDoo1pJUVbAVf35Du8+utsdIuVjPL0qI5R2BFVGuw== X-Received: by 2002:a17:90b:1d81:: with SMTP id pf1mr36092946pjb.134.1638778439085; Mon, 06 Dec 2021 00:13:59 -0800 (PST) Received: from localhost.localdomain ([8.26.182.175]) by smtp.gmail.com with ESMTPSA id 95sm8999332pjo.2.2021.12.06.00.13.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Dec 2021 00:13:58 -0800 (PST) From: Yanteng Si X-Google-Original-From: Yanteng Si To: akiyks@gmail.com, linux@armlinux.org.uk Cc: Yanteng Si , andrew@lunn.ch, corbet@lwn.net, chenhuacai@kernel.org, hkallweit1@gmail.com, linux-doc@vger.kernel.org, netdev@vger.kernel.org, Yanteng Si Subject: [PATCH v2 1/2] net: phy: Remove unnecessary indentation in the comments of phy_device Date: Mon, 6 Dec 2021 16:12:27 +0800 Message-Id: X-Mailer: git-send-email 2.27.0 In-Reply-To: References: MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org From: Yanteng Si Fix warning as: linux-next/Documentation/networking/kapi:122: ./include/linux/phy.h:543: WARNING: Unexpected indentation. linux-next/Documentation/networking/kapi:122: ./include/linux/phy.h:544: WARNING: Block quote ends without a blank line; unexpected unindent. linux-next/Documentation/networking/kapi:122: ./include/linux/phy.h:546: WARNING: Unexpected indentation. Signed-off-by: Yanteng Si --- include/linux/phy.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/include/linux/phy.h b/include/linux/phy.h index 1e57cdd95da3..6de8d7a90d78 100644 --- a/include/linux/phy.h +++ b/include/linux/phy.h @@ -538,11 +538,12 @@ struct macsec_ops; * @mac_managed_pm: Set true if MAC driver takes of suspending/resuming PHY * @state: State of the PHY for management purposes * @dev_flags: Device-specific flags used by the PHY driver. - * Bits [15:0] are free to use by the PHY driver to communicate - * driver specific behavior. - * Bits [23:16] are currently reserved for future use. - * Bits [31:24] are reserved for defining generic - * PHY driver behavior. + * + * - Bits [15:0] are free to use by the PHY driver to communicate + * driver specific behavior. + * - Bits [23:16] are currently reserved for future use. + * - Bits [31:24] are reserved for defining generic + * PHY driver behavior. * @irq: IRQ number of the PHY's interrupt (-1 if none) * @phy_timer: The timer for handling the state machine * @phylink: Pointer to phylink instance for this PHY From patchwork Mon Dec 6 08:12:28 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: yanteng si X-Patchwork-Id: 12657759 X-Patchwork-Delegate: kuba@kernel.org 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 11592C433FE for ; Mon, 6 Dec 2021 08:14:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239005AbhLFIRf (ORCPT ); Mon, 6 Dec 2021 03:17:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42722 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239033AbhLFIRe (ORCPT ); Mon, 6 Dec 2021 03:17:34 -0500 Received: from mail-pf1-x42e.google.com (mail-pf1-x42e.google.com [IPv6:2607:f8b0:4864:20::42e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E574EC061A83; Mon, 6 Dec 2021 00:14:05 -0800 (PST) Received: by mail-pf1-x42e.google.com with SMTP id g18so9461893pfk.5; Mon, 06 Dec 2021 00:14:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=QKxPerJUW5xKdsM/yyWUqSHmdveNx4qXZufZHcOkhIc=; b=FyqB6NKQcU4ZE95OvCmSoGXQP7/jROCUXH4kjLICmwX+LB3xMCrr2S/mF6eAZIfTfM NCrM7A09GguKAJfjFo3ehP227NBjmUuubfgBxwxbx27oEXmDQc0sLSq7jchlszbbkZvV 6+OcDsMfQsYKL3zaHGtnDLvD+8AJftGdZR7PK2FEBeNPWj/rMLJzMh1LYwFCnKFA16/Z mxFrfcFO8bfnuZs7sh09FlEZPHWYOefuRs94OvlKxnBJkpLe5w6ey0HuLlYyuGyXdqL8 g12i7S3CIjT7S7TB6h5ys0232RhE+CyzVz+GDybHZSmx+4GJIPlBKcraxGyvlFhkiNH0 HiIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=QKxPerJUW5xKdsM/yyWUqSHmdveNx4qXZufZHcOkhIc=; b=14wZ4h4SP12sD+vwz+U63eOdSm46qoQRQ3Zg0Yh6Wo2G/yfybvI4qjB81VIhT6CUYV vNRG8VxksMIKyKYigPLvP5w40Gj9cPXxXyvzMB+n2O9Qel7gCTGCfj68w8SOE9DeKTrL eED/cVw4AsS4Qg4jGbLoxTOyTdc3EcUj+csn+36rHH4lSdDsaTFMEwfKx8DsHSgwZ1QW 4vGm94XzAeS0WpfuBVqFukIlHJkaNg0+HdzrrwMosRPPUdCATKIoUEoqF4m8ABV4+sG2 mR54SAIoWWs2BngO6GfdoZtg86fvepBJYoQhbs/Kd65Crxb/Di68IVveAmtcGhS0Mqm+ XMKw== X-Gm-Message-State: AOAM5332O/nfg/0KmnQU/0ld4N56tkrFDUNaur0c6Y4y3r5I4GDnj+/b Eo7URiIpqUPIyKo1p8ar4EI= X-Google-Smtp-Source: ABdhPJz0c0/jh2b+wZ+k4wc9od7BPCGd3/WYc3GvnBebV6plSz28rGbvIKIgX+liVT+1aoxAhifMYw== X-Received: by 2002:a63:7f4d:: with SMTP id p13mr17363027pgn.546.1638778444551; Mon, 06 Dec 2021 00:14:04 -0800 (PST) Received: from localhost.localdomain ([8.26.182.175]) by smtp.gmail.com with ESMTPSA id 95sm8999332pjo.2.2021.12.06.00.13.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Dec 2021 00:14:04 -0800 (PST) From: Yanteng Si X-Google-Original-From: Yanteng Si To: akiyks@gmail.com, linux@armlinux.org.uk Cc: Yanteng Si , andrew@lunn.ch, corbet@lwn.net, chenhuacai@kernel.org, hkallweit1@gmail.com, linux-doc@vger.kernel.org, netdev@vger.kernel.org, siyanteng01@gmail.com Subject: [PATCH v2 2/2] net: phy: Add the missing blank line in the phylink_suspend comment Date: Mon, 6 Dec 2021 16:12:28 +0800 Message-Id: <1b32000631c5709e8d8cc0b779c816ae4e595ab7.1638776933.git.siyanteng@loongson.cn> X-Mailer: git-send-email 2.27.0 In-Reply-To: References: MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org Fix warning as: Documentation/networking/kapi:147: ./drivers/net/phy/phylink.c:1657: WARNING: Unexpected indentation. Documentation/networking/kapi:147: ./drivers/net/phy/phylink.c:1658: WARNING: Block quote ends without a blank line; unexpected unindent. Signed-off-by: Yanteng Si --- drivers/net/phy/phylink.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/phy/phylink.c b/drivers/net/phy/phylink.c index 8e3861f09b4f..c26884a56354 100644 --- a/drivers/net/phy/phylink.c +++ b/drivers/net/phy/phylink.c @@ -1653,6 +1653,7 @@ EXPORT_SYMBOL_GPL(phylink_stop); * @mac_wol: true if the MAC needs to receive packets for Wake-on-Lan * * Handle a network device suspend event. There are several cases: + * * - If Wake-on-Lan is not active, we can bring down the link between * the MAC and PHY by calling phylink_stop(). * - If Wake-on-Lan is active, and being handled only by the PHY, we