From patchwork Thu Jun 4 08:01:52 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amerigo Wang X-Patchwork-Id: 27827 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n54823YA021296 for ; Thu, 4 Jun 2009 08:02:03 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753648AbZFDIB7 (ORCPT ); Thu, 4 Jun 2009 04:01:59 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753211AbZFDIB7 (ORCPT ); Thu, 4 Jun 2009 04:01:59 -0400 Received: from mx2.redhat.com ([66.187.237.31]:60890 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752445AbZFDIB7 (ORCPT ); Thu, 4 Jun 2009 04:01:59 -0400 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n5481vTb030858; Thu, 4 Jun 2009 04:01:57 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id n5481txk005452; Thu, 4 Jun 2009 04:01:55 -0400 Received: from localhost.localdomain (dhcp-65-141.nay.redhat.com [10.66.65.141]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n5481qUE020683; Thu, 4 Jun 2009 04:01:53 -0400 Date: Thu, 4 Jun 2009 04:01:52 -0400 From: Amerigo Wang To: linux-kernel@vger.kernel.org Cc: akpm@linux-foundation.org, sam@ravnborg.org, Amerigo Wang , linux-kbuild@vger.kernel.org Message-Id: <20090604080406.7005.27662.sendpatchset@localhost.localdomain> Subject: [Patch 1/2] kbuild: two trivial fixes for check headers X-Scanned-By: MIMEDefang 2.58 on 172.16.27.26 Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org Remove a useless 'extern' in an exported header. Fix a comment headers_check.pl. Signed-off-by: WANG Cong Cc: Sam Ravnborg ------ --- 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 diff --git a/include/mtd/jffs2-user.h b/include/mtd/jffs2-user.h index fa94b0e..10dc7ef 100644 --- a/include/mtd/jffs2-user.h +++ b/include/mtd/jffs2-user.h @@ -18,7 +18,7 @@ #undef je32_to_cpu #undef jemode_to_cpu -extern int target_endian; +int target_endian; #define t16(x) ({ __u16 __b = (x); (target_endian==__BYTE_ORDER)?__b:bswap_16(__b); }) #define t32(x) ({ __u32 __b = (x); (target_endian==__BYTE_ORDER)?__b:bswap_32(__b); }) diff --git a/scripts/headers_check.pl b/scripts/headers_check.pl index 56f90a4..ccdbace 100644 --- a/scripts/headers_check.pl +++ b/scripts/headers_check.pl @@ -2,7 +2,7 @@ # # headers_check.pl execute a number of trivial consistency checks # -# Usage: headers_check.pl dir [files...] +# Usage: headers_check.pl dir arch [files...] # dir: dir to look for included files # arch: architecture # files: list of files to check