Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp2098928rdb; Thu, 21 Sep 2023 08:30:56 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEvmQ54mHblTtWzkV5RXcXCvVkQFxvExS+cEA05ZlpLmbZJ/NrPUHdIH9Ds8NUz0AoJJyLo X-Received: by 2002:a17:903:4293:b0:1c3:2532:ac71 with SMTP id ju19-20020a170903429300b001c32532ac71mr5037252plb.31.1695310256577; Thu, 21 Sep 2023 08:30:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695310256; cv=none; d=google.com; s=arc-20160816; b=BxTYwMHaGfijJ9pSeRB0tRUs9LBpbWVDn9N8F/0+s/RuO35Xor9c6h0iqoUfCLZA1L 5C65kSMH8msF/T9rWHV/4zlpdv6ZX5CaWtwS1WUWMzLiPFJgwE0TfR3cwmT/aY9cgpBp dE+LqK0MYluAuGYmU8Z9cswjOjgkfeJEziNaJn93kd7hvi2u2kZy7iVB6NvjCwPSfuUd hRrXLTp4e5Qjga4AVL+xbJtQ/dD1QGj2nIqhTUfK21ADa0tbPbD/0gZNkxDNl1xYtez3 m6Zv+uZXBrc3WHpbi/99CiojCD6cT0zKTicBRiuRcyPiGx3JtEzwLg0hsAxCKo2K1TGD 6R3g== 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=ozA0Jujf7fT06Boim5upfAurdk6RBRhq81ypAGzT8yI=; fh=qwRluPB5WFm9szC7DqKc8FZiAP69FjoNqJESbcdddZM=; b=RvQbDu5sGi++L/uD54HgL6lKNNtXizMJ6ZJ9om9r6RCuOodq7CTJde/JIwqVUn6hn3 arExQTwu2gQqRN6JE1uh/h+6PddGJWdarAgzfZYltaD0aM8fXBZUbe7ThyFreOq+TbZo hd6brEfMOcsVA6oRkVB/xO62/WPZF+OKGiaAai9tzUDq80UzIqT2TexIsA7PSDvBu45Y TV9IbeLYrta4Eia/ci6H8+UnAJrZoASQXTHx4osBH91ZCqvv/EhhX1VES7ljCVKtoPAm tbEVi1Fmjuvb0yB1o0Xb1UYd+L7eWRuhnN9F4CrBYpf2khGs7ti9/2oIFcix1IgKEute slRw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=Bt4wVXad; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.38 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 fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id n15-20020a170902d2cf00b001bf0ad16519si1789507plc.513.2023.09.21.08.30.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Sep 2023 08:30:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=Bt4wVXad; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.38 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 fry.vger.email (Postfix) with ESMTP id E64EE80DC424; Wed, 20 Sep 2023 12:27:51 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229881AbjITT1p (ORCPT + 56 others); Wed, 20 Sep 2023 15:27:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49976 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229563AbjITT1p (ORCPT ); Wed, 20 Sep 2023 15:27:45 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2EBBA9F for ; Wed, 20 Sep 2023 12:27:37 -0700 (PDT) Received: from pps.filterd (m0279873.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 38KIFGWD029165; Wed, 20 Sep 2023 19:27:30 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=ozA0Jujf7fT06Boim5upfAurdk6RBRhq81ypAGzT8yI=; b=Bt4wVXadjZz7EOm/+tOr2NZw3OwEj6LgHVS4cj9ZUuWIQJVsPTY3wUY8GEl6tJDn3PO5 UrSpYcF4HtsbzdUefbaT/jKz35EK6OpT5t4GP9Euk8s/Lnm9LnDmYiL8GpxKpqJ8i5i3 gM23p6j/eHFIj3VjO2ukuka0adYZInp8GSwXmWgaDY0DHGbPsgs35Bw5oGfg8jfhCUb/ slgiodx51AW9sD6BmBHKkqJ37dujtzOzasxmHKobXHMup8sgA0MBJCAL+WuyOuvwZKkr ZNMYLhAEUuXd1DfbuPnI8I6U4/zRan6UTOBh18i3U8IyX49xMyypaMSLRF0MsgFC8Mtv rA== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3t7r8w22c8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 20 Sep 2023 19:27:30 +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 38KJRTQw021933 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 20 Sep 2023 19:27:29 GMT Received: from [10.48.245.144] (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; Wed, 20 Sep 2023 12:27:29 -0700 Message-ID: Date: Wed, 20 Sep 2023 12:27:28 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] wifi: ath11k: consistently use kstrtoul_from_user() Content-Language: en-US To: Dmitry Antipov CC: Kalle Valo , , References: <20230920115447.38355-1-dmantipov@yandex.ru> From: Jeff Johnson In-Reply-To: <20230920115447.38355-1-dmantipov@yandex.ru> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.49.16.6] X-ClientProxiedBy: nalasex01b.na.qualcomm.com (10.47.209.197) 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: 8fFreZr-cybcIphCwU534yGTEZAseTEU X-Proofpoint-ORIG-GUID: 8fFreZr-cybcIphCwU534yGTEZAseTEU X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.980,Hydra:6.0.601,FMLib:17.11.176.26 definitions=2023-09-20_09,2023-09-20_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 spamscore=0 mlxscore=0 suspectscore=0 bulkscore=0 mlxlogscore=383 adultscore=0 clxscore=1015 impostorscore=0 lowpriorityscore=0 priorityscore=1501 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2308100000 definitions=main-2309200161 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 fry.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 (fry.vger.email [0.0.0.0]); Wed, 20 Sep 2023 12:27:52 -0700 (PDT) On 9/20/2023 4:54 AM, Dmitry Antipov wrote: > Use 'kstrtoul_from_user()' in 'ath11k_write_file_spectral_count()' > and 'ath11k_write_file_spectral_bins()' and so simplify both ones. > > Signed-off-by: Dmitry Antipov Acked-by: Jeff Johnson