cregit-Linux how code gets into the kernel

Release 4.14 arch/x86/lib/misc.c

Directory: arch/x86/lib
// SPDX-License-Identifier: GPL-2.0
/*
 * Count the digits of @val including a possible sign.
 *
 * (Typed on and submitted from hpa's mobile phone.)
 */

int num_digits(int val) { int m = 10; int d = 1; if (val < 0) { d++; val = -val; } while (val >= m) { m *= 10; d++; } return d; }

Contributors

PersonTokensPropCommitsCommitProp
Borislav Petkov52100.00%2100.00%
Total52100.00%2100.00%


Overall Contributors

PersonTokensPropCommitsCommitProp
Borislav Petkov5398.15%266.67%
Greg Kroah-Hartman11.85%133.33%
Total54100.00%3100.00%
Directory: arch/x86/lib
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.