Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp907337yba; Thu, 18 Apr 2019 11:34:54 -0700 (PDT) X-Google-Smtp-Source: APXvYqyFcb0MmGYv8saA4ekyMbeSnFbVxzZMFRb7TAZwlsejMVKtgDrN/ZZWC66L7lbwIbPqmR1B X-Received: by 2002:a63:2157:: with SMTP id s23mr7078556pgm.436.1555612494077; Thu, 18 Apr 2019 11:34:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555612494; cv=none; d=google.com; s=arc-20160816; b=dbc58t8b3XjyfUw6atLpaVmhlojzL0tAolJmn/F883DlKRszYW6+w7GOPV6VIH7dO9 b+NqfcW+eQxGnPXRgPDDl+7qbilK9KGfskQBLPOjAlfk9P+o/leSTa3m7/tgKJRXdDGc NF57j5wApc4mGUmwlBfwdzi2qKco1ysaN7jfE1PFuyvwTlVbCZUvAgf7p+qeY0xg27e3 Z0frbPsUxKADXSZ/62lk2lmJ7Aa9yzzoROnzy6GdodWmSqOB6OFctl9YBDEZR8WMpsr1 QT9IbkLZ/0rN2x6cizJ9S2OnlRStNajE0hmvARaotzHIY4Q6XJmJLo8wv4AyEVHQm/dh E2UQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=DD4inrnR/ERwgd2eQq6T9hry964XIbKjZKg0nn9/QmE=; b=FYlYRVzeoAzAA47NL3EfZWMVI/NMsF7qLNBA8C1natKJwaTcIp29eMWm7wDB5+QY18 GI+PB5vyXPiuE4heBB74XBYxpWkKCLnkCJSxHXEPA8C/SBzUVLuXDfnuFWdLGJfRnt3H OO2TylN9hg1yM0ZKOH44bEm/qxM6f4+3zwoIaxxiINngZkS0cWolBH+UGCjEDUBEEDvP g+xH0CGdoKGpYRplCZJgsI1kmX7i42E+hEXIU3jhoBGw7wJ9UYEFY8Zj0voWIwiJ9LQu F0vE659eli2BuiGiodNotbLe64yRHD9TdOckqd9HgpI2tCnNxMtZdSpUqX0MuEc7vbYM UzNQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=dPP3wTKU; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a73si2532604pge.358.2019.04.18.11.34.39; Thu, 18 Apr 2019 11:34:54 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=dPP3wTKU; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390485AbfDRScd (ORCPT + 99 others); Thu, 18 Apr 2019 14:32:33 -0400 Received: from mail.kernel.org ([198.145.29.99]:55524 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390338AbfDRSAU (ORCPT ); Thu, 18 Apr 2019 14:00:20 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 6312F21872; Thu, 18 Apr 2019 18:00:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1555610419; bh=8j7VnDdhSNheStUU3GnDHE7iperAyzwh78MFIYNSjzU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=dPP3wTKUeeUb2NIw3o8j3PpWcrMXUexAIOnGd373yt4TtjsAfhdEtIl562/zsRm8k w4kkRbK7cRNkztRAVy64qqHE76PlDj2dmpyGEhHjEqDxbeGo0/vAxZfrg9HgmJxA4t N11HsMCMsNIqfLwmXXuucbxN3y+Fh8y2Xq3sxfLo= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Zhang Rui , Sasha Levin Subject: [PATCH 4.19 022/110] thermal/intel_powerclamp: fix truncated kthread name Date: Thu, 18 Apr 2019 19:56:11 +0200 Message-Id: <20190418160439.850115344@linuxfoundation.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190418160437.484158340@linuxfoundation.org> References: <20190418160437.484158340@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org [ Upstream commit e925b5be5751f6a7286bbd9a4cbbc4ac90cc5fa6 ] kthread name only allows 15 characters (TASK_COMMON_LEN is 16). Thus rename the kthreads created by intel_powerclamp driver from "kidle_inject/ + decimal cpuid" to "kidle_inj/ + decimal cpuid" to avoid truncated kthead name for cpu 100 and later. Signed-off-by: Zhang Rui Signed-off-by: Sasha Levin --- drivers/thermal/intel_powerclamp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/thermal/intel_powerclamp.c b/drivers/thermal/intel_powerclamp.c index ea1aa7dbe42c..8e8328347c0e 100644 --- a/drivers/thermal/intel_powerclamp.c +++ b/drivers/thermal/intel_powerclamp.c @@ -494,7 +494,7 @@ static void start_power_clamp_worker(unsigned long cpu) struct powerclamp_worker_data *w_data = per_cpu_ptr(worker_data, cpu); struct kthread_worker *worker; - worker = kthread_create_worker_on_cpu(cpu, 0, "kidle_inject/%ld", cpu); + worker = kthread_create_worker_on_cpu(cpu, 0, "kidle_inj/%ld", cpu); if (IS_ERR(worker)) return; -- 2.19.1