From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759637Ab3DBXDc (ORCPT ); Tue, 2 Apr 2013 19:03:32 -0400 Received: from mail-da0-f41.google.com ([209.85.210.41]:53759 "EHLO mail-da0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758073Ab3DBXD0 (ORCPT ); Tue, 2 Apr 2013 19:03:26 -0400 Date: Tue, 2 Apr 2013 16:03:23 -0700 From: Greg KH To: Jacob Pan Cc: LKML , Platform Driver , Matthew Garrett , Zhang Rui , Rafael Wysocki , Len Brown , Srinivas Pandruvada , Arjan van de Ven Subject: Re: [PATCH 1/1] Introduce Intel RAPL cooling device driver Message-ID: <20130402230323.GB8713@kroah.com> References: <1364940936-20846-1-git-send-email-jacob.jun.pan@linux.intel.com> <1364940936-20846-2-git-send-email-jacob.jun.pan@linux.intel.com> <20130402230042.GA8713@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130402230042.GA8713@kroah.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 02, 2013 at 04:00:42PM -0700, Greg KH wrote: > I'm not even going to review the rest of this file, please fix that up > first, before sending it out again. And, when you do so, please cc: me. It's like a train wreck, you just can't tear away your eyes... You race with userspace in the creation of your sysfs files. Your device is announced to userspace and then, later on, you create the sysfs files. This means that tools like libudev never sees your files, so the attributes aren't read properly by loads of userspace programs that you want to have read them. Please fix that before resending this as well. greg k-h