From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753488Ab3JDALh (ORCPT ); Thu, 3 Oct 2013 20:11:37 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:59268 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751826Ab3JDALg (ORCPT ); Thu, 3 Oct 2013 20:11:36 -0400 Date: Thu, 3 Oct 2013 17:11:34 -0700 From: Greg Kroah-Hartman To: Mark Brown Cc: Sudeep Dutt , Dasaratharaman Chandramouli , Ashutosh Dixit , Tejun Heo , linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, Thierry Reding Subject: Re: Build failure after merge of the char-misc tree Message-ID: <20131004001134.GA29624@kroah.com> References: <20131003235419.GG27287@sirena.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20131003235419.GG27287@sirena.org.uk> 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 Fri, Oct 04, 2013 at 12:54:19AM +0100, Mark Brown wrote: > After merging the char-misc tree into -next an x86 allmodconfig build fails > with: > > drivers/misc/mic/host/mic_main.c: In function ‘mic_probe’: > drivers/misc/mic/host/mic_main.c:320:3: error: too many arguments to function ‘sysfs_get_dirent’ > NULL, "state"); > ^ > In file included from include/linux/kobject.h:21:0, > from include/linux/module.h:16, > from drivers/misc/mic/host/mic_main.c:26: > include/linux/sysfs.h:465:1: note: declared here > sysfs_get_dirent(struct sysfs_dirent *parent_sd, const unsigned char > *name) > ^ > make[4]: *** [drivers/misc/mic/host/mic_main.o] Error 1 > > caused by an interaction between the addition of the Intel MIC host > driver and commit 388975cccaaf1 (sysfs: clean up sysfs_get_dirent()) > from the driver-current tree. > > I've applied the patch below and can carry it for the time being. > > From abbabb4580f45accf74f95aed6fe35b26ae8d009 Mon Sep 17 00:00:00 2001 > From: Mark Brown > Date: Fri, 4 Oct 2013 00:53:01 +0100 > Subject: [PATCH] misc: mic: Update for sysfs_get_dirent() cleanups > > Signed-off-by: Mark Brown > --- > drivers/misc/mic/host/mic_main.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) That patch looks great, thanks. greg k-h