Received: by 2002:a05:6358:bb9e:b0:b9:5105:a5b4 with SMTP id df30csp5324444rwb; Wed, 7 Sep 2022 00:33:47 -0700 (PDT) X-Google-Smtp-Source: AA6agR7R6PyUWnguKWGu/hCRBlO37TYWXtydJ+z9/uG/y1OwfZegm+260uuKCzXen1bYR3OfYtFv X-Received: by 2002:a17:90b:3e81:b0:1fd:8357:cbc8 with SMTP id rj1-20020a17090b3e8100b001fd8357cbc8mr2682166pjb.48.1662536027135; Wed, 07 Sep 2022 00:33:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662536027; cv=none; d=google.com; s=arc-20160816; b=1KU40oyJJgmZ7nigblDfH+ZxzKy0H4XTnd69lk7v+r9YB8wgfzogS2vTcnkpXujlRY RCiZZZFUD/6YqqVRhjd03pNLRxe3dXbesAt9Y/qvaenv+0beTkT9uWhXhXXhMDkBMCOG f7QhmkKCVbYp9vWTQqwNmg5fd8AB3mOhd/4giYmlDu/nx0LIxqdgPgXq4LRuIwFqipnn HfdPiqrVdT8ymYhqZEWmZje1xZR2on02+wtTY69M9aIec6QokGDWnsUcGCP2z4zUMgER L2dG+pgX42+IVjoGmgUrVT85ocdSt6dnRONlwS2TqDYdL4B6joP4SpGMQy/tpXctMVPv tNPw== 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=gxgdPXBN5nC9/NAWP8fAlMB4fkBAs+mr7rh7g3hJXgM=; b=0WgBq2d8fcDQS359UNUgEsFg5LCne2ojdJPZZvG/LGtMAoV4bP8t35CL812crUe/VK eWx+C4+Rcwpc01uapeiu2jn6nNN/trLlYuUq0XJuptuSAbvM2Ued+CHlE22YzttFSGR/ SvLvhKlLO2byIrANiEIZkNPIItn8L88UDT2kZY4icMKjyGxPGzc+ktgHS0wnvtGEcyOQ J5wjC0U1stPMrkRhK5GvyklTy4xuxoYNYcaJrWPm8OD2747B4rci3jm8jqoNPEpzHkFr uXAzjIHg7h6mg0FbCv9sgHlZ6VVhRPowdsv56zwvTiGzROhHTtCopZQ3ykxd4aea9Nyu ynHQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=MrzpHAU3; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h5-20020a056a001a4500b0053708adb535si14568817pfv.257.2022.09.07.00.33.37; Wed, 07 Sep 2022 00:33:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=MrzpHAU3; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229682AbiIGH3e (ORCPT + 64 others); Wed, 7 Sep 2022 03:29:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32966 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229669AbiIGH3L (ORCPT ); Wed, 7 Sep 2022 03:29:11 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A87F9255BD; Wed, 7 Sep 2022 00:29:10 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 56323B81B89; Wed, 7 Sep 2022 07:29:09 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 25219C433B5; Wed, 7 Sep 2022 07:29:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1662535748; bh=MAKhOisrj5H/XxMjCHU1vIPYaY3C42nvmmE4fodHQbE=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=MrzpHAU3adhwuJTn3wfPTK9TmDWoZEcluaDPaExZTU0UEiWcQTvEGbTTHgH4+W44X XyTkvuvbOy9i9NB2kul67+W/tPCMcoRM9hxBezch/r4qOdCle3uCikI5ydCDAgXE35 uqzDUCIx36pJVd9YZ603pEIqqnifsdoL2C4E53+x0ODBDXgN0fOwcmEdkacVRsjd4T 2khVKU8f1pAnVHnjEgOlC1F9reFzSmP8/W4qVh5VAxWypZcX3i32c73xp18lOKbonq jQRmkGAgUBiTJ1TTaTEVkodj5QnuFg7nbVFSMdIl3/fK/xoowahxTOFhAMjVAZM3MV a3E+/SgFpba7g== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH v2] wifi: brcmfmac: add error code in brcmf_notify_sched_scan_results() From: Kalle Valo In-Reply-To: <20220829111256.21923-1-liqiong@nfschina.com> References: <20220829111256.21923-1-liqiong@nfschina.com> To: Li Qiong Cc: Arend van Spriel , Franky Lin , Hante Meuleman , "David S . Miller" , Eric Dumazet , Jakub Kicinski , linux-wireless@vger.kernel.org, brcm80211-dev-list.pdl@broadcom.com, SHA-cyfmac-dev-list@infineon.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Yu Zhe , Li Qiong User-Agent: pwcli/0.1.1-git (https://github.com/kvalo/pwcli/) Python/3.7.3 Message-ID: <166253574027.23292.7635371064073371162.kvalo@kernel.org> Date: Wed, 7 Sep 2022 07:29:04 +0000 (UTC) X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Li Qiong wrote: > The err code is 0 at the first two "out_err" paths, add error code > '-EINVAL' for these error paths. > > Signed-off-by: Li Qiong Arend already commented v1: https://lore.kernel.org/netdev/a054ffb1-527b-836c-f43e-9f76058cc9ed@gmail.com/ Patch set to Changes Requested. -- https://patchwork.kernel.org/project/linux-wireless/patch/20220829111256.21923-1-liqiong@nfschina.com/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches