From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pb0-f46.google.com ([209.85.160.46]:57592 "EHLO mail-pb0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752747Ab2K2SpL (ORCPT ); Thu, 29 Nov 2012 13:45:11 -0500 Received: by mail-pb0-f46.google.com with SMTP id wy7so10753311pbc.19 for ; Thu, 29 Nov 2012 10:45:10 -0800 (PST) Date: Thu, 29 Nov 2012 10:41:33 -0800 From: Greg Kroah-Hartman Subject: [PATCH 0/2] Remove __dev* sections from the kernel Message-ID: <20121129184133.GA15110@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Sender: linux-kbuild-owner@vger.kernel.org List-ID: To: linux-kernel@vger.kernel.org, Rusty Russell , Jim Cromie , Borislav Petkov , Andrew Morton , Andi Kleen , Michal Marek , Tony Lindgren , Jonathan Kliegman , Chris Zankel Cc: Bill Pemberton , Fengguang Wu , Sam Ravnborg , linux-kbuild With the recent work to remove CONFIG_HOTPLUG, we are starting to get a bunch of __devinit section warnings, despite CONFIG_HOTPLUG always being enabled. So lets remove these false warnings by removing the check for them in the modpost.c tool. Also, lets stop marking the sections entirely, so define away the section markings in init.h I'll queue these two patches up through my driver-core git tree, which has the bulk of the __dev* marking removal patches in it. If anyone has any objections to this, please let me know. thanks, greg k-h --- include/linux/init.h | 18 +++++++----------- scripts/mod/modpost.c | 24 ++++++++++-------------- 2 files changed, 17 insertions(+), 25 deletions(-)