Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp1460933rdb; Mon, 2 Oct 2023 10:06:36 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH476qmt3ttxo8sHv2NF1I5FXfGiihg7a53HsBM0S0krC+MyGwW1X/71ZfXN5uB6cG/S5U2 X-Received: by 2002:a17:90a:e548:b0:268:10a3:cea8 with SMTP id ei8-20020a17090ae54800b0026810a3cea8mr9830484pjb.9.1696266396379; Mon, 02 Oct 2023 10:06:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696266396; cv=none; d=google.com; s=arc-20160816; b=u2dPgaO+4jcKpmYxNhhk7acPWGQ0ww/kKG1PLv2DzZgdkQfK8zrFw17y49VRU+MppX Q5uEohuzKMouIOtpTDP9tAITKGXnEIjdwPKTcbvOEOYeaBhz1iano1aXE/WIiCqChxdy WAOtG8bg+4ZtqhWHeGnXPCFkiKHQKzvR+F95QkEujHExoUnxR4DMQ1rjocYmFPj8tzVl rJ1gh1LidcEuHMPw7nUEzvj57ntM1xYZzRyGE5IUyQPOWeNLL/gxwPEOWdOM2oYKhhMp uEpgGHidqQqgsHg7LKAD+7ptF+1pYzLuuT48KjZwSL6LFMSltqaZOIEHMoN0PGgXqli3 38lw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:date:message-id:user-agent:cc:to:references :in-reply-to:from:subject:content-transfer-encoding:mime-version :dkim-signature; bh=yKk64JzWdyBYA4T0iSnj6BNiRLWKnUrRQ6g5pRPGzZ4=; fh=tjps/0mnZfJojZz2YY11ZLXRt7RkKsT/lR8da2jHxqQ=; b=ocX70qDC7mni7JHJHnKRwq1zbhvYXwmNAYBsOmXa+2RQ+2h/yZo2aE1KLGPmQe/fVs khe+YoymIHgKQNhCRTGU+C7HU1dj/MFRwmyWph/HOaXIcarG6PiQeEohzF5VJadC2q49 mzypDGTVVEJFal/CD+U8bqeR480jBNoqmE1cm0ecPxFWGw967mY6wTey3vRElRMp/nDy DeR1Sa2u355kR7RM2kMI8P4yWM3OdzuTzUg7msAXXwI/ZqGBK8DATJ0TUNKUBHzzfXbB fVX62sFrwWuf5pFVTFIPR2RMobD3l6S8pcATPW5ZdADDhaVR9bNPSrPuib3SVQlxBg1E nDug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=jRvCBWhE; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id e22-20020a17090ac21600b0027383ac5ebcsi8111992pjt.130.2023.10.02.10.06.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Oct 2023 10:06:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=jRvCBWhE; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 341078051159; Mon, 2 Oct 2023 09:55:02 -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 S238507AbjJBQzD (ORCPT + 53 others); Mon, 2 Oct 2023 12:55:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37394 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238493AbjJBQzC (ORCPT ); Mon, 2 Oct 2023 12:55:02 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 53836A9 for ; Mon, 2 Oct 2023 09:55:00 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CC2ECC433C7; Mon, 2 Oct 2023 16:54:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696265700; bh=l6R77HZ01blh2QJJ24Cf8mBZfE1MZp3Lc/qYTwT536s=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=jRvCBWhEH/v0VmYwUbKMeNiLN2Tq7o6bVijkTG4OFg7UTj42F3CWe4mNSOwD5V8Zp 9e4gSch7PWP0Jy6BaCHEpgECLQQIcj8gRhi6s2G+Ew5HFpIipcxLPTceb7S09VXWQN VsgXeUAu2YCvIvjbjw95gzRBSgEo+5mb8lKBmxnPtAMsAgSDiH7eNlqAwxXTbgMxJC OkLj/26JkK4xh7cwmYrb1satETBvSr/jaFUnmpN2Lo2F1uX8eWdgjylLkmMblg9kOn mlgd0wng8BTrzU43p4CrruKIIIDYpN9VWe+xLRHr6cV3MpAmhJLnMqJ8nMKeXMF98m CZQnB0kmpnuDg== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH] [v2] wifi: ath10k: consistently use kstrtoX_from_user() functions From: Kalle Valo In-Reply-To: <20230920154018.48314-1-dmantipov@yandex.ru> References: <20230920154018.48314-1-dmantipov@yandex.ru> To: Dmitry Antipov Cc: Jeff Johnson , ath10k@lists.infradead.org, linux-wireless@vger.kernel.org, Dmitry Antipov User-Agent: pwcli/0.1.1-git (https://github.com/kvalo/pwcli/) Python/3.11.2 Message-ID: <169626569660.3936351.15391287849518283977.kvalo@kernel.org> Date: Mon, 2 Oct 2023 16:54:58 +0000 (UTC) X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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-wireless@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Mon, 02 Oct 2023 09:55:02 -0700 (PDT) Dmitry Antipov wrote: > Use 'kstrtoul_from_user()', 'kstrtobool_from_user()' and > 'kstrtoint_from_user()' where appropriate and thus avoid > some code duplication. > > Signed-off-by: Dmitry Antipov > Acked-by: Jeff Johnson > Signed-off-by: Kalle Valo Patch applied to ath-next branch of ath.git, thanks. 3fcb81420aca wifi: ath10k: consistently use kstrtoX_from_user() functions -- https://patchwork.kernel.org/project/linux-wireless/patch/20230920154018.48314-1-dmantipov@yandex.ru/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches