From patchwork Thu Aug 16 23:23:20 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 1335361 Return-Path: X-Original-To: patchwork-linux-kbuild@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id E547D3FC33 for ; Thu, 16 Aug 2012 23:24:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757403Ab2HPXYw (ORCPT ); Thu, 16 Aug 2012 19:24:52 -0400 Received: from oproxy12-pub.bluehost.com ([50.87.16.10]:35779 "HELO oproxy12-pub.bluehost.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1755488Ab2HPXYv (ORCPT ); Thu, 16 Aug 2012 19:24:51 -0400 Received: (qmail 21665 invoked by uid 0); 16 Aug 2012 23:24:50 -0000 Received: from unknown (HELO box742.bluehost.com) (66.147.244.242) by oproxy12.bluehost.com with SMTP; 16 Aug 2012 23:24:50 -0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=xenotime.net; s=default; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:References:Subject:CC:To:MIME-Version:From:Date:Message-ID; bh=24nj6lACO5/hwOzU4C7FG0DSLdymJMeTbDEcNNeu4bI=; b=SAcnU6LzG6D59gD14mqYYkgeG+i3rN7jU/dKXjYifPsAyO0njfAFLtgPtvwKQDgrOhEpb8sA4PIMLPapZu69lGSO3BA7Y5nRkW8aH5ACgs8GTfeQA0yIHkA3SJ6frWAf; Received: from [50.53.38.135] (port=38049 helo=[192.168.1.2]) by box742.bluehost.com with esmtpsa (TLSv1:CAMELLIA256-SHA:256) (Exim 4.76) (envelope-from ) id 1T29Qo-0006oK-QM; Thu, 16 Aug 2012 17:24:50 -0600 Message-ID: <502D80E8.3080008@xenotime.net> Date: Thu, 16 Aug 2012 16:23:20 -0700 From: Randy Dunlap User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15) Gecko/20110323 Thunderbird/3.1.9 MIME-Version: 1.0 To: Linus Torvalds , LKML CC: linux-kbuild@vger.kernel.org, Michal Marek Subject: [PATCH] scripts/kernel-doc: fix fatal script error References: In-Reply-To: X-Identified-User: {1807:box742.bluehost.com:xenotime:xenotime.net} {sentby:smtp auth 50.53.38.135 authed with rdunlap@xenotime.net} Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org From: Randy Dunlap Fix fatal error in scripts/kernel-doc by ignoring the "__weak" attribute: Error(drivers/pci/pci.c:2820): cannot understand prototype: 'char * __weak pcibios_setup(char *str) ' Signed-off-by: Randy Dunlap --- scripts/kernel-doc | 1 + 1 file changed, 1 insertion(+) -- To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html --- lnx-36-rc2.orig/scripts/kernel-doc +++ lnx-36-rc2/scripts/kernel-doc @@ -1786,6 +1786,7 @@ sub dump_function($$) { $prototype =~ s/__init +//; $prototype =~ s/__init_or_module +//; $prototype =~ s/__must_check +//; + $prototype =~ s/__weak +//; $prototype =~ s/^#\s*define\s+//; #ak added $prototype =~ s/__attribute__\s*\(\([a-z,]*\)\)//;