Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755347Ab1CHOBv (ORCPT ); Tue, 8 Mar 2011 09:01:51 -0500 Received: from mail-iw0-f174.google.com ([209.85.214.174]:43186 "EHLO mail-iw0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754706Ab1CHOBs (ORCPT ); Tue, 8 Mar 2011 09:01:48 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type; b=JT95iVSE6J7L9X5u3y/uuQcuWz02NMSsG+oBEuDRQ8vLVedLQewJqYO6JQQ+woaluf pBmTI5jCirVxLYhweJqh9zfHmtrmuORXf71EqrIR/SIlsSs+/I++A7oBKY9FHeacp7PV sMc6bx8uB38CPl2Z+IX0SG5qVNoBuW6Qqu1NQ= MIME-Version: 1.0 Date: Tue, 8 Mar 2011 22:01:47 +0800 Message-ID: Subject: [2.6.38-rc8, patch] minor ANSI prototype sparse fix From: Daniel J Blueman To: Rusty Russell Cc: Linux Kernel Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1040 Lines: 35 Fix function prototype to be ANSI-C compliant, consistent with other function prototypes, addressing a sparse warning. Signed-off-by: Daniel J Blueman diff --git a/kernel/module.c b/kernel/module.c index efa290e..be35185 100644 --- a/kernel/module.c +++ b/kernel/module.c @@ -1627,7 +1627,7 @@ void unset_section_ro_nx(struct module *mod, void *module_region) } /* Iterate through all modules and set each module's text as RW */ -void set_all_modules_text_rw() +void set_all_modules_text_rw(void) { struct module *mod; @@ -1648,7 +1648,7 @@ void set_all_modules_text_rw() } /* Iterate through all modules and set each module's text as RO */ -void set_all_modules_text_ro() +void set_all_modules_text_ro(void) { struct module *mod; -- Daniel J Blueman -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/