Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp273048rdb; Sat, 30 Sep 2023 04:11:29 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFsfZXGz/k5zf1ICd9FsAiKjamsJCP/ZzGfYOAVjHre/82UYpQa8V882RA/Q+e2EN2X9t98 X-Received: by 2002:a17:90a:17c5:b0:274:87e8:7ce1 with SMTP id q63-20020a17090a17c500b0027487e87ce1mr6446129pja.39.1696072288895; Sat, 30 Sep 2023 04:11:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696072288; cv=none; d=google.com; s=arc-20160816; b=IdDcDU8F7pEdSSdBsAIgGl6ml9qqUTTdB7QF7xIjQLUSeJnf9/EdHEHTyEb4leGZzO xCte5fEw0mtOfYCGPjI7mHkoWcPsd8BDu5sSeT5nm9lUOYnfObasYwDd1fDPXeNR0XTb yUXH+a7rohnvzQ8IPnK5Y/JORyBCiF55XsRC8lmw69x5+DATQ4FzOP8IIrk1fliTvSqb YZhQ+3dgP8tM64FCMcrSY8PTXTuiTd65ZoegpIsPRxnLtmJVIG8A2Wgyyt89ozzhDnbY A9X/EKgwUephznKa80tTJDjBrYXAp3snQjDFMrilZB5TmYsmTyQcyALuSGMNVnc7VYqO QAzQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=MbikhNSNH7OtfWCkgn9Dx4LK9xIPCdbC2zEj+QIsT5g=; fh=GYljK/mVTxb59K42N9FZcs1t0wpNj6X2WtZkPtZSLkg=; b=Nc+9poc4x7fqKsKkymlZAhO7pFrurIxE6IG091o7vy2QZNP81i8FdW6jfacfzrWWgl 4mQUMSXhytbbMQH4U/zq/HNd5uEigp2Bhx+/rUeT3+gQ66UGE79hTSs5is1sZbBWbsmK FCIH7nY8XWOUWzYmyOgA2t+FRB8DlIw2MrYXUHBP2DFeE9EAfKpIPXIP0Ebp8LbnHMkK UiSRoz4l1JRIYM3ZpkmjOmqxi/4W6a6DkLJL7DMgHknyYCE1sZoAXsHHHzI0b1vo0w2M qTaMWNzGea7OYgMtJWw0/Oq9aClOAUcrFPnpcMVASyYUKtx2Mgl9rs4GXHQtpYMO1ZIe mQAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=WB1GY+z9; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id lp11-20020a17090b4a8b00b0026cab818aa2si3823555pjb.100.2023.09.30.04.11.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Sep 2023 04:11:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=WB1GY+z9; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 88D0B80C5C98; Thu, 28 Sep 2023 17:01:22 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229794AbjI2ABL (ORCPT + 54 others); Thu, 28 Sep 2023 20:01:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45844 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229541AbjI2ABK (ORCPT ); Thu, 28 Sep 2023 20:01:10 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 01A18199 for ; Thu, 28 Sep 2023 17:01:06 -0700 (PDT) Received: from pps.filterd (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 38SMul0Q004460; Fri, 29 Sep 2023 00:00:55 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=qcppdkim1; bh=MbikhNSNH7OtfWCkgn9Dx4LK9xIPCdbC2zEj+QIsT5g=; b=WB1GY+z9aPylHgmKNLLo8zgW2TLX+U5attt8Tvh2viiq8AiHAy+86GzO0PlsFTxemS6I jGZn4ogvnEI7RLGrXxi20WCw+n2pzLM06itfGBSdTGOnVjkpmULnnWrwsq6Dr0XqrZgi yJU61uUxSb+ZBP2YrfPQ53eoiSiBHfc8dOCp8WJnaocRh6JSBlZWsT7PQjGKtACfaNy6 KAFkHab1B/pS9v8C+HslY+E0oz1hXrV7LbBN+KaGwgxxZcYTl1b6uxhAGhU9OAls3t4g /52F+RH9yurHCxgItnCv7orHvSQPJPyWtxIa9YBhKC69iN+k546l5pgrdRFFufvrYbyf JQ== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3tctcnkax7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 29 Sep 2023 00:00:55 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 38T00sg8012533 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 29 Sep 2023 00:00:54 GMT Received: from [10.111.177.152] (10.49.16.6) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.36; Thu, 28 Sep 2023 17:00:54 -0700 Message-ID: <7877b596-6124-4028-8293-147a66a51ebf@quicinc.com> Date: Thu, 28 Sep 2023 17:00:53 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 16/18] wifi: cfg80211: wext: convert return value to kernel-doc Content-Language: en-US To: , CC: , Johannes Berg References: <20230928143539.1037500-1-gregory.greenman@intel.com> <20230928172905.ab3b9274bf07.If263f9f6726d6ad4661f8603e6a4485e0385d67f@changeid> From: Jeff Johnson In-Reply-To: <20230928172905.ab3b9274bf07.If263f9f6726d6ad4661f8603e6a4485e0385d67f@changeid> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.49.16.6] X-ClientProxiedBy: nalasex01c.na.qualcomm.com (10.47.97.35) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: EA1hAHEQr0ZjV50JZxWbooCoK2-krnLL X-Proofpoint-ORIG-GUID: EA1hAHEQr0ZjV50JZxWbooCoK2-krnLL X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.980,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-09-28_23,2023-09-28_03,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 priorityscore=1501 lowpriorityscore=0 phishscore=0 suspectscore=0 clxscore=1015 impostorscore=0 mlxlogscore=831 malwarescore=0 mlxscore=0 spamscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2309180000 definitions=main-2309280205 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,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 pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Thu, 28 Sep 2023 17:01:22 -0700 (PDT) On 9/28/2023 7:35 AM, gregory.greenman@intel.com wrote: > From: Johannes Berg > > Since I'm getting a warning here right now, fix the > kernel-doc to be "Returns:" rather than just writing > that out in the doc paragraph. > > Signed-off-by: Johannes Berg > Signed-off-by: Gregory Greenman > --- > net/wireless/wext-compat.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/net/wireless/wext-compat.c b/net/wireless/wext-compat.c > index d23ce088bffa..2371069f3c43 100644 > --- a/net/wireless/wext-compat.c > +++ b/net/wireless/wext-compat.c > @@ -7,7 +7,7 @@ > * we directly assign the wireless handlers of wireless interfaces. > * > * Copyright 2008-2009 Johannes Berg > - * Copyright (C) 2019-2022 Intel Corporation > + * Copyright (C) 2019-2023 Intel Corporation > */ > > #include > @@ -227,7 +227,7 @@ EXPORT_WEXT_HANDLER(cfg80211_wext_giwrange); > * cfg80211_wext_freq - get wext frequency for non-"auto" > * @freq: the wext freq encoding > * > - * Returns a frequency, or a negative error code, or 0 for auto. > + * Returns: a frequency, or a negative error code, or 0 for auto. again, shouldn't this be Return: > */ > int cfg80211_wext_freq(struct iw_freq *freq) > {