Commit 72d39508 authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Linus Torvalds

lib/lcm.c: quiet sparse noise

The symbol 'lcm' is exported to the kernel (EXPORT_SYMBOL_GPL).
Pick up it's definition in <linux/lcm.h> to quiet the sparse noise:

  warning: symbol 'lcm' was not declared. Should it be static?
Signed-off-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent b09628ef
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/gcd.h> #include <linux/gcd.h>
#include <linux/module.h> #include <linux/module.h>
#include <linux/lcm.h>
/* Lowest common multiple */ /* Lowest common multiple */
unsigned long lcm(unsigned long a, unsigned long b) unsigned long lcm(unsigned long a, unsigned long b)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment