Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp2961872pxb; Tue, 12 Jan 2021 03:00:18 -0800 (PST) X-Google-Smtp-Source: ABdhPJxyssOePw5/Nodk66aaA3bIFsTVR0X9mVQEropKyOXfrDwIoqvgmHk7KoIGhhruq7za9y3D X-Received: by 2002:a05:6402:2694:: with SMTP id w20mr247355edd.200.1610449218288; Tue, 12 Jan 2021 03:00:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610449218; cv=none; d=google.com; s=arc-20160816; b=i5BC0Z4c+9Yxmw1QRWwrxMjxaPVt8O+NvGk/Sd0PJlHF5Qu59q4s+Akr//H2lgBmo1 CC7sVXlgMLIZ/kampkMuJCjyohEe2f3HXLTiSD5By0oIr9MF+3RTg/HfSGrIfMnKJwho RtxM8skR0TrnOcjTZ+oBNruDgaeG9jlCkouNnTpWG3DN+oHK9QmRxz/QFRU3MF5+7kGE 9oaamsQD2Z7UA/lEQ07TXffvDwv6ilEB9krFPI9Bh3jQDlzy0gc2MAP5So6gigXPheLh Alr1LscmLRHP0LieMtHFsy2bd8Ir4DMJRXwCHTV2sIThkwCdYiH7P8kOk+I5jVgsCHNi tQcA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :dkim-signature; bh=ZSNLc9PihXO6nuOHATGPf5myu+2eUyDH8fhV6ZmKRZo=; b=b2n+dtLydQP34JvCNj4694HRpDizy2Yp/roGAaNDNzrAC+r1hKlvyg9oSydYjTXhki NsTD72/NeIhH78D6r+tkYC1iugWmqrHy4Gx+qbFicQMBV/UnmxOMOhBRouhOH9wyt4RE /yRsvGvJff+T+/3L6j5HfvfLPQORmxzCCajrybzO76GTf5k8lTBWrwFKiCjZFMYKdesW HCW8gOuDXpwTsmyYFoE7vAG2dHrcwbMRCVt3aojVh0vOD+uiX4noyheajYcXvTZX8daf M+PktTu8jxd6xkEF/e5HAGRgS/JnmxSBBaLn5170qe6rom+jYPq6IQpsLWxbuEzZubg/ TMnA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=T+F4bi2v; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cw4si969043ejb.196.2021.01.12.02.59.54; Tue, 12 Jan 2021 03:00:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=T+F4bi2v; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729506AbhALBnT (ORCPT + 99 others); Mon, 11 Jan 2021 20:43:19 -0500 Received: from mailgw02.mediatek.com ([210.61.82.184]:45582 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726837AbhALBnT (ORCPT ); Mon, 11 Jan 2021 20:43:19 -0500 X-UUID: a6368c3d9feb46fdb519a0813217d334-20210112 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:MIME-Version:Content-Type:References:In-Reply-To:Date:CC:To:From:Subject:Message-ID; bh=ZSNLc9PihXO6nuOHATGPf5myu+2eUyDH8fhV6ZmKRZo=; b=T+F4bi2v1/FRrc6dZtq9W6TfUcWdz7QGspkVCEXJ7BWEIR7VQIM59UvjAy3ybTTeploLEeVfUvNDFg5qB8q0+5lfm6Sx50O3ueS791Ho7mhbIkK7BHniLGfhbc2qz+yQjbe7jrZmIYTIWcOTBwQ9Q9WM45PsKE/da6kZh+q3vAI=; X-UUID: a6368c3d9feb46fdb519a0813217d334-20210112 Received: from mtkexhb01.mediatek.inc [(172.21.101.102)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.14 Build 0819 with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1272495569; Tue, 12 Jan 2021 09:42:34 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs08n2.mediatek.inc (172.21.101.56) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 12 Jan 2021 09:42:32 +0800 Received: from [172.21.84.99] (172.21.84.99) by mtkcas07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Tue, 12 Jan 2021 09:42:32 +0800 Message-ID: <1610415752.4985.16.camel@mtksdccf07> Subject: Re: [PATCH] mac80211: fix incorrect strlen of .write in debugfs From: Shayne Chen To: Johannes Berg CC: linux-wireless , Toke =?ISO-8859-1?Q?H=F8iland-J=F8rgensen?= , Felix Fietkau , Lorenzo Bianconi , Ryder Lee , linux-mediatek , Sujuan Chen Date: Tue, 12 Jan 2021 09:42:32 +0800 In-Reply-To: <036e334c2a0a2ebaf940d3f7ae03ab0d9f7c45fb.camel@sipsolutions.net> References: <20210108105643.10834-1-shayne.chen@mediatek.com> <0efec65815ff9e26b3da69cb35d503a90086760c.camel@sipsolutions.net> <1610345954.4985.7.camel@mtksdccf07> <036e334c2a0a2ebaf940d3f7ae03ab0d9f7c45fb.camel@sipsolutions.net> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3-0ubuntu6 MIME-Version: 1.0 X-TM-SNTS-SMTP: 2A3869795AF4D62E00F733F95164FA99692B98361A0380456F173D3EC3EA12832000:8 X-MTK: N Content-Transfer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