From nobody Tue Jan 04 18:03:30 2022 X-Original-To: dev-commits-src-branches@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 02D801923B24; Tue, 4 Jan 2022 18:03:32 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JT0pp6bpDz4tKB; Tue, 4 Jan 2022 18:03:30 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 94E3C1DA13; Tue, 4 Jan 2022 18:03:30 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 204I3UF9025673; Tue, 4 Jan 2022 18:03:30 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 204I3UPH025672; Tue, 4 Jan 2022 18:03:30 GMT (envelope-from git) Date: Tue, 4 Jan 2022 18:03:30 GMT Message-Id: <202201041803.204I3UPH025672@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Alexander Motin Subject: git: 6b06f8a7927f - stable/13 - amdtemp: Revert related part of "Make CPU children" commit. List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mav X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 6b06f8a7927fff624685eb4131292b6736a08728 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1641319411; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ooVIb47zrf94rAqqIdbdH4YKUabfo9K4HWGVNVwSP2Y=; b=D7peawfYeCgPlPDndi/V9ZOIckN7Qpaiy5fqdqybuT5VJU90wDYvtQZO2S+hO/SIa34Wl4 bFaWTz9He37hnpqbGA91o3uHAOJ4rdRFd0n8kqMpipeZL6mO3vpP6A/bTC2cslhY2WQvXS egAX3pXDmF14T/pXt4E5aUERTisITzSr8IgucJN9RSmMAs3tJJWW4rvqX7lqhQkuQtfq/n QzBRL+QF0LuyQiHQNrbg3XYrx4eOfwPcGwC3w6yX7DNqUhTaEqv93Us6sDJMN4Ocw4Pi0G NGQX6OK/QxcIAH98rikTOfNWOn2hWaI1BOhqcoKFUuYAn6HjYq6yngeVN/gySg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1641319411; a=rsa-sha256; cv=none; b=ga7Mwv4H/8wm/64dxtIKD5Y1g/7YstQf4uRVGCA0pTxz4RnNbxuSbAKI/0PPbmPxfAu6rd wacKS/PcdW9BfAEFzvhUlY54lZKgb2vo/7veB4xbxIG2VCv12HOohelCu6hgpVRD8wjPL9 03O7nY6BY3c9ytSgTI72KnJCY+Uc/2cA91fWvtI/5o9fyH/dZfaoszEcN+/DikdxJbRrBg +F1v8iUp3b72Ibnx0KzZv0nT0+QmMzmS8lZyPa4wRr+Cr3lBSihc3AerZAFP5QLNER6DEb CecVBPQ09L1RwlEMALhaQAlaZwPKrl+GcaHgAdNjunfUymTdsi6cz2Tu13KANQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by mav: URL: https://cgit.FreeBSD.org/src/commit/?id=6b06f8a7927fff624685eb4131292b6736a08728 commit 6b06f8a7927fff624685eb4131292b6736a08728 Author: Alexander Motin AuthorDate: 2021-12-01 18:00:17 +0000 Commit: Alexander Motin CommitDate: 2022-01-04 17:21:49 +0000 amdtemp: Revert related part of "Make CPU children" commit. While it still looks like previous code worked by coincidence, this change broke things even more instead of fixing. Reported by: avg@ MFC after: 1 week (cherry picked from commit 94a72c5ac4285b2940e5d2c7e53d21c84023defc) --- sys/dev/amdtemp/amdtemp.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sys/dev/amdtemp/amdtemp.c b/sys/dev/amdtemp/amdtemp.c index c1d696d070a5..21227a47c513 100644 --- a/sys/dev/amdtemp/amdtemp.c +++ b/sys/dev/amdtemp/amdtemp.c @@ -263,8 +263,7 @@ amdtemp_identify(driver_t *driver, device_t parent) return; if (amdtemp_match(parent, NULL)) { - child = device_add_child(parent, "amdtemp", - device_get_unit(parent)); + child = device_add_child(parent, "amdtemp", -1); if (child == NULL) device_printf(parent, "add amdtemp child failed\n"); }