Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758328Ab1FJX1b (ORCPT ); Fri, 10 Jun 2011 19:27:31 -0400 Received: from mail160.messagelabs.com ([216.82.253.99]:55526 "EHLO mail160.messagelabs.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758289Ab1FJX1a (ORCPT ); Fri, 10 Jun 2011 19:27:30 -0400 X-VirusChecked: Checked X-Env-Sender: hartleys@visionengravers.com X-Msg-Ref: server-3.tower-160.messagelabs.com!1307748449!24409328!1 X-StarScan-Version: 6.2.17; banners=-,-,- X-Originating-IP: [216.166.12.32] From: H Hartley Sweeten To: Linux Kernel Subject: [PATCH] lib/lcm.c: quiet sparse noise Date: Fri, 10 Jun 2011 16:27:14 -0700 User-Agent: KMail/1.9.9 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-ID: <201106101627.14811.hartleys@visionengravers.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 812 Lines: 26 The symbol 'lcm' is exported to the kernel (EXPORT_SYMBOL_GPL). Pick up it's definition in to quiet the sparse noise: warning: symbol 'lcm' was not declared. Should it be static? Signed-off-by: H Hartley Sweeten --- diff --git a/lib/lcm.c b/lib/lcm.c index 157cd88..10b5cfc 100644 --- a/lib/lcm.c +++ b/lib/lcm.c @@ -1,6 +1,7 @@ #include #include #include +#include /* Lowest common multiple */ unsigned long lcm(unsigned long a, unsigned long b) -- 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/