Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp713216rwr; Thu, 20 Apr 2023 05:37:31 -0700 (PDT) X-Google-Smtp-Source: AKy350YqyVg+8793OX4gBHO2WVVO6s8udnuxlW0lvmTJBDiW5YIb8Pfr6AS1qJhHzBk0xFHvzMx2 X-Received: by 2002:a05:6a20:729c:b0:ee:e61f:cb6a with SMTP id o28-20020a056a20729c00b000eee61fcb6amr2466982pzk.31.1681994251620; Thu, 20 Apr 2023 05:37:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681994251; cv=none; d=google.com; s=arc-20160816; b=ceMtdwONHysy/EChrRtfkx3ya93cC3+ZgDJi5Gr4gsCkA+h8TIo8/SHJSKTaGhkMjy ICkkC12jXhg14kjRS+CTpzmWxISk8QfasqDuC0gYt9oO6SGbDX6QjwI0wSX1cufqskzu 1rFxf4EPPFv4AJ1CTIMTqsVqwQGbDNI12iqd3PZXQfTNtpV4FgYFbnjx6KciBAeEw63D G+wOr/LjxreiE49kNJVRAUe1cl/L1iIywPqtvnQtHTJ8JH04rUyw6WznDrWdeKprgu+Z w/SPkPZrHXH932zZuZvTynC27he+5iigGX2wVa4JBlu+YX4X9dTRZUB0Vs9rzyiR09L4 BiXA== 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=+VDIaOxdVZUeqfB40R5OyV/I57BwayPjccWJosh8j5o=; b=AhrRxuiKVcOL1bhMhYCPja/0DSAfdDjCD5tkFBtn2QXz1FUmMuQvxPq+VEuQaESeN0 56alsQJLrtgwhyehDWTBw2Se7uHeKG1QBtBs0cMqDsdttcXj9ZkPXBWeRpdlFncjEDUa 1sJk1K6pUhXAv493YamQfJzV5wgJ3/3UwzIgUnMKMD4fVqkKDXLnmczksw5E6b1S+1QW 8VQVzrBqN9TIoQa1XHjE1EWtOuta95ZBIdDjFUF94nDY+s+MAZq9cWbbIL3RZWIa2YTd GBMFoOYI7yMfxhWGv78jZ9qiPq9uMjvTgx190QhRh3yIGgvfoFXPymXpzhyV+gvLLK6Z QrQg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=f3H9uJRK; 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 l190-20020a6388c7000000b0051b5e96024asi1572226pgd.591.2023.04.20.05.37.12; Thu, 20 Apr 2023 05:37:31 -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=f3H9uJRK; 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 S231406AbjDTMe0 (ORCPT + 63 others); Thu, 20 Apr 2023 08:34:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55382 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230291AbjDTMeZ (ORCPT ); Thu, 20 Apr 2023 08:34:25 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0E9B37DA3 for ; Thu, 20 Apr 2023 05:33:43 -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 dfw.source.kernel.org (Postfix) with ESMTPS id 71E316123A for ; Thu, 20 Apr 2023 12:33:21 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4E9CCC433D2; Thu, 20 Apr 2023 12:33:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1681994000; bh=hrGiqkjnueLtKlSVPIc31tG670ePcgMh0GK7hP0j5KU=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=f3H9uJRKYEDrOOaMy5DnXd06+Dk7hVJhho+qgK5+iTpdq0BPDoPvk5H0AhyFtjuCT pdNhy1hK36WUSACpXnjtdcp+odQfmUYcqAS7/xSHsDrpN5rRo1Fcx+HtpJxy16MXLg ecV694FLfna1taFnZLdRb8HehXb0InEDiPgUypUllWni/eS6dMzsFFVgp4hZb+H1FF xYG1g7tlUhavy4r6jDPZU8NPMo/2WEIO9FW9PvV+f7XUv42ZE+/CANAJGewovLmTp/ ImLds1LX41YLnKim02vXcSG4knSAT4HDcNnKacc3onJAteaZPzyogJoCqop7a/lBUk qn49snvdZOdIg== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH] wifi: rtw89: mac: use regular int as return type of DLE buffer request From: Kalle Valo In-Reply-To: <20230414082228.30766-1-pkshih@realtek.com> References: <20230414082228.30766-1-pkshih@realtek.com> To: Ping-Ke Shih Cc: User-Agent: pwcli/0.1.1-git (https://github.com/kvalo/pwcli/) Python/3.7.3 Message-ID: <168199399542.31131.14153398071731527302.kvalo@kernel.org> Date: Thu, 20 Apr 2023 12:33:20 +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 Ping-Ke Shih wrote: > The function to request DLE (data link engine) buffer uses 'u16' as return > value that mixes error code, so change it to 'int' as regular error code. > Also, treat invalid register value (0xfff) as an error. > > Signed-off-by: Ping-Ke Shih Patch applied to wireless-next.git, thanks. eaddda248483 wifi: rtw89: mac: use regular int as return type of DLE buffer request -- https://patchwork.kernel.org/project/linux-wireless/patch/20230414082228.30766-1-pkshih@realtek.com/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches