Received: by 2002:a05:6a10:8a4d:0:0:0:0 with SMTP id dn13csp933875pxb; Fri, 13 Aug 2021 09:28:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxB/4uBOIlH7g7GxCFhD2/ID3dX8y6e094aysEb8avD53si5STtLucUkJVEs9xmUXReUghp X-Received: by 2002:a05:6402:781:: with SMTP id d1mr4243263edy.32.1628872130405; Fri, 13 Aug 2021 09:28:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628872130; cv=none; d=google.com; s=arc-20160816; b=MiirACRT3Spf7kz4eZBDNaU5fS4WqYKOVlZ/nDStg9mDKIwDPjcpHr4N+XVOuJD8F5 56gibfngWY3hjmofT7Vd7swmkfteL5hUw5AhIgZDmh0a/X0OuFsKLAwRck8UvV6AYx+W ZZ3rpbOrm7dj6MsedFTQ0M/HVA+GvzIgQaEikGnPoN6Hs/AfltOMpbnFNk3nLfomeebo Ie7E9t5rYUCKjCPPtO9CogJ5ADc0e/S8v57romb6tmDjlmeDo2YLu7NyiNS+SdVRfWkU 9fVd+2T2aIG5248/8yNPhgxKZNXtMWcpAgFX8R3JmnFwb9W5n8Rs/p1uEl1lt2yldsPH Tpag== 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=Fmj94kKyC76Gj81A4sW5VrTf4W9B0Rq9Rw24Ubfs3gM=; b=K+pFDc8uyLbNn3k0aclmvYLby5nIrpjMo+KRZdTXQFEo/msyz5LKduQlnCoUdToeZg GSOYmaQutXthtD46UbbRobQwJbofMdfML95Tmkb1FpeM1YVEII+odvGmxHBvakY58mwB hYXWp7qY/TmFSIWcyHMg3ZFP87CjtRWpn0rsu4884eBHabshEA2hLrwrZnEj4muSvvxF RGA0wy94LwpQAC8IkQ6zNkyaw4zUy/6BpApKpiMbQDjEyKwVDziTD3hhPOZFMhcjZIIf NQrQdWXHvI1gQ+Q0fkMdipkYVg6jo7GdCfgkhHhxMyefxdjTeOqawAHC8y/KQAwXdOLw V9uw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=S1VOwjNk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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 l15si1971676ejg.444.2021.08.13.09.28.25; Fri, 13 Aug 2021 09:28:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=S1VOwjNk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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 S233827AbhHMQ1D (ORCPT + 99 others); Fri, 13 Aug 2021 12:27:03 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:36662 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S229471AbhHMQ1C (ORCPT ); Fri, 13 Aug 2021 12:27:02 -0400 X-UUID: 594c94b2845b4de4bdda7d6b30014193-20210814 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=Fmj94kKyC76Gj81A4sW5VrTf4W9B0Rq9Rw24Ubfs3gM=; b=S1VOwjNkPlVY6mejB+yaaXSL8JW7YUYOvnHM2yjrTkyDxoXt2sS+WbuiWuHOzIT8DSrrUcBcMmgL/sZaUEkIN1mGTLzLdT3Vnu0qk1kwMHcacYJLdfU6kTyaohsmbOH/JSlnyyYAs8YfWCHtaLx58UqvLxS1XCGQfaMJ4MSsGLI=; X-UUID: 594c94b2845b4de4bdda7d6b30014193-20210814 Received: from mtkcas06.mediatek.inc [(172.21.101.30)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1734543056; Sat, 14 Aug 2021 00:26:19 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs05n1.mediatek.inc (172.21.101.15) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Sat, 14 Aug 2021 00:26:18 +0800 Received: from mtksdccf07 (172.21.84.99) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Sat, 14 Aug 2021 00:26:13 +0800 Message-ID: <3c120b7278481229031c02bf140901738bffcbb8.camel@mediatek.com> Subject: Re: drivers/net/wireless/mediatek/mt76/mt7915/init.c:134:41: warning: passing argument 1 of 'thermal_cooling_device_register' discards 'const' qualifier from pointer target type From: Ryder Lee To: kernel test robot CC: , , Felix Fietkau Date: Sat, 14 Aug 2021 00:26:13 +0800 In-Reply-To: <202108131536.fI3monk1-lkp@intel.com> References: <202108131536.fI3monk1-lkp@intel.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5-0ubuntu0.18.04.2 MIME-Version: 1.0 X-MTK: N Content-Transfer-Encoding: base64 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gRnJpLCAyMDIxLTA4LTEzIGF0IDE1OjE5ICswODAwLCBrZXJuZWwgdGVzdCByb2JvdCB3cm90 ZToNCj4gSGkgUnlkZXIsDQo+IA0KPiBGWUksIHRoZSBlcnJvci93YXJuaW5nIHN0aWxsIHJlbWFp bnMuDQo+IA0KPiB0cmVlOiAgIA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