From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1423946AbcBQVPJ (ORCPT ); Wed, 17 Feb 2016 16:15:09 -0500 Received: from mail-qk0-f182.google.com ([209.85.220.182]:33428 "EHLO mail-qk0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1161057AbcBQVPG (ORCPT ); Wed, 17 Feb 2016 16:15:06 -0500 Date: Wed, 17 Feb 2016 16:15:04 -0500 From: Tejun Heo To: Lars-Peter Clausen Cc: Lai Jiangshan , linux-kernel@vger.kernel.org Subject: Re: [PATCH] workqueue: Replace usage of init_name with dev_set_name() Message-ID: <20160217211504.GB6479@mtj.duckdns.org> References: <1455739481-32021-1-git-send-email-lars@metafoo.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1455739481-32021-1-git-send-email-lars@metafoo.de> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 17, 2016 at 09:04:41PM +0100, Lars-Peter Clausen wrote: > The init_name property of the device struct is sort of a hack and should > only be used for statically allocated devices. Since the device is > dynamically allocated here it is safe to use the proper way to set a > devices name by calling dev_set_name(). > > Signed-off-by: Lars-Peter Clausen Applied to wq/for-4.6. Thanks. -- tejun