Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp3284956rdb; Wed, 13 Sep 2023 07:42:58 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG/VMKCInwaumkpJNSAVUJr5FhgmbPXguRUuTTPHkm9VrywxOyGygz1ot/0/kR7y2mtfbd3 X-Received: by 2002:a05:6870:6393:b0:1c8:bae6:527d with SMTP id t19-20020a056870639300b001c8bae6527dmr3326771oap.55.1694616177781; Wed, 13 Sep 2023 07:42:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694616177; cv=none; d=google.com; s=arc-20160816; b=pgRqswOwphL9mra+TP9tVCyrwL2ZixJuWhtsmldwp5pZBGzbYiRir6Iv2uUKUHtfF7 7pMA4Zl1QMoPeLDAdg5Fh8wF3XmJWjCxW1r37sSsZvxQxRivYlZ+0ma/4aOeacw7sPTz M96KwRrOqIPMMZXMDTiHoPPP0ShqoXUJpUaG+hGPBWeDgEz/jFbavpPkKy3rfN+BB91r z1PZ3fAav7Q5IT9tsVr0DPn4cOtK39Ci/AIjGS0jkJiY9/fKr8n7vzZEPmeygi2yoFd/ ty86ec/LT9C9rDK5r9NS7hxm+N8HaHcHJj2RqQoU1eqb68cHs+QfuO6EwizfNepgbvXk 978Q== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=oLGzoSv2sewj+lqZfKff+YE0fN+en5kby+VvEFHEEPk=; fh=bHBp+PJACSvucKAvnO3bf9DILRtfHT5RT33jsVWkQ4A=; b=jO0m7QdZcpy1wbLXPYwYBIRz/fpzWo75kOdQgAj36PD7v/uWg6evpsTI8n1A/272MM ii5nqlzxHkKiKLvkCU3h56N6+3sWo7G5IK4+xdkwVuYOp9oiKOY2Hnz23WvK/jufkXg2 IAlWJfEnxUA+NZqxl79tlNVOAr2BkDxD79+sxCTWrMDWu1lh9nujPk/JM3/QFY5byHoN /5YhZtDa/FD9ZW/RYGXjJBOnJsCQeJL4hX+I7EQnGhzX/HNcATCu4LUFvpLfB/oEhvb6 6f26zkr7HlfC8iMFyIgjbameZetfO43hjyFMpv92GBjbBYRpdlhSqGYTx9pUbw5gFdF5 RxDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="RGAeZ4/P"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id w67-20020a636246000000b0056aea4cc1c9si10783098pgb.653.2023.09.13.07.42.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Sep 2023 07:42:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="RGAeZ4/P"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 830B7808E64F; Tue, 12 Sep 2023 08:07:35 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236296AbjILPHe (ORCPT + 99 others); Tue, 12 Sep 2023 11:07:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55286 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236276AbjILPHY (ORCPT ); Tue, 12 Sep 2023 11:07:24 -0400 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.88]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4C67910CA for ; Tue, 12 Sep 2023 08:07:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1694531240; x=1726067240; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=hvjWSe8g2gvyLab18B/7HjQZ7vefXnYvuFSi1pPYm3k=; b=RGAeZ4/PIixWddwAohOIxRQtyYWz2WE4xldkvVoY8775lzzdjOCTmBOf 9rBaopPtiPe5yGMAnB4vRuxs36ZJ+bBuARe/EimrxipnvS8dIv012fvQM pDqkcI2Rbtd/oQDAX3E6W4R+bVQ9aIAo+92UD35fKg+blCd3H2zIRpQsJ vbKXG84IohhtDrtKqZbyjScCI41dwJpoOCOH31hg1qiamGIjWMqha030w bjxqpmHL4Q1r796Yl2fYnwAZpXQ462bE082KeR7xT+sfreHzvyA1uZjwu T5r5UVGTfGd3DUdXhWYqqIBaTEnK6luT9LOWMj5aDEL3iwZ/5k7oTK+Om w==; X-IronPort-AV: E=McAfee;i="6600,9927,10831"; a="409356494" X-IronPort-AV: E=Sophos;i="6.02,139,1688454000"; d="scan'208";a="409356494" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Sep 2023 08:05:59 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10831"; a="858836462" X-IronPort-AV: E=Sophos;i="6.02,139,1688454000"; d="scan'208";a="858836462" Received: from black.fi.intel.com ([10.237.72.28]) by fmsmga002.fm.intel.com with ESMTP; 12 Sep 2023 08:05:57 -0700 Received: by black.fi.intel.com (Postfix, from userid 1003) id 9F3E6C0D; Tue, 12 Sep 2023 18:05:54 +0300 (EEST) From: Andy Shevchenko To: Andy Shevchenko , linux-kernel@vger.kernel.org Cc: Luis Chamberlain Subject: [PATCH v1 6/6] params: Fix multi-line comment style Date: Tue, 12 Sep 2023 18:05:51 +0300 Message-Id: <20230912150551.401537-6-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.40.0.1.gaa8946217a0b In-Reply-To: <20230912150551.401537-1-andriy.shevchenko@linux.intel.com> References: <20230912150551.401537-1-andriy.shevchenko@linux.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 (snail.vger.email [0.0.0.0]); Tue, 12 Sep 2023 08:07:35 -0700 (PDT) The multi-line comment style in the file is rather arbitrary. Make it follow the standard one. Signed-off-by: Andy Shevchenko --- kernel/params.c | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/kernel/params.c b/kernel/params.c index bcd535200c31..a6d7023dc993 100644 --- a/kernel/params.c +++ b/kernel/params.c @@ -1,8 +1,8 @@ // SPDX-License-Identifier: GPL-2.0-or-later -/* Helpers for initial module or kernel cmdline parsing - Copyright (C) 2001 Rusty Russell. - -*/ +/* + * Helpers for initial module or kernel cmdline parsing + * Copyright (C) 2001 Rusty Russell. + */ #include #include #include @@ -270,8 +270,10 @@ int param_set_charp(const char *val, const struct kernel_param *kp) maybe_kfree_parameter(*(char **)kp->arg); - /* This is a hack. We can't kmalloc in early boot, and we - * don't need to; this mangled commandline is preserved. */ + /* + * This is a hack. We can't kmalloc() in early boot, and we + * don't need to; this mangled commandline is preserved. + */ if (slab_is_available()) { *(char **)kp->arg = kmalloc_parameter(len + 1); if (!*(char **)kp->arg) @@ -743,8 +745,10 @@ void module_param_sysfs_remove(struct module *mod) { if (mod->mkobj.mp) { sysfs_remove_group(&mod->mkobj.kobj, &mod->mkobj.mp->grp); - /* We are positive that no one is using any param - * attrs at this point. Deallocate immediately. */ + /* + * We are positive that no one is using any param + * attrs at this point. Deallocate immediately. + */ free_module_param_attrs(&mod->mkobj); } } -- 2.40.0.1.gaa8946217a0b