[PATCHv5 1/5] Staging: most: mostcore/core.c. Fix "missing static keyword" warnings

Sudip Mukherjee sudipm.mukherjee at gmail.com
Wed Aug 5 05:24:10 UTC 2015


On Tue, Aug 04, 2015 at 08:44:51PM +0200, Adrian Remonda wrote:
> This is a patch to the mostcore/core.c file. It makes
> several local functions and structures static to prevent global
> visibility.
> 
> Signed-off-by: Adrian Remonda <adrianremonda at gmail.com>
> ---
<snip>
> @@ -1255,7 +1255,7 @@ static void arm_mbo(struct mbo *mbo)
>   *
>   * Returns the number of allocated and enqueued MBOs.
>   */
> -int arm_mbo_chain(struct most_c_obj *c, int dir, void (*compl)(struct mbo *))
> +static int arm_mbo_chain(struct most_c_obj *c, int dir, void (*compl)(struct mbo *))
This introduced a new checkpatch warning about "line over 80
characters".

regards
sudip


More information about the devel mailing list