mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
Pull trivial tree updates from Jiri Kosina. * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: floppy: make local variable non-static exynos: fixes an incorrect header guard dt-bindings: fixes some incorrect header guards cpufreq-dt: correct dead link in documentation cpufreq: ARM big LITTLE: correct dead link in documentation treewide: Fix typos in printk Documentation: filesystem: Fix typo in fs/eventfd.c fs/super.c: use && instead of & for warn_on condition Documentation: fix sysfs-ptp lib: scatterlist: fix Kconfig description
This commit is contained in:
commit
7d1fc01afc
22 changed files with 30 additions and 29 deletions
|
|
@ -3585,7 +3585,7 @@ static void __init config_types(void)
|
|||
unsigned int type = UDP->cmos;
|
||||
struct floppy_drive_params *params;
|
||||
const char *name = NULL;
|
||||
static char temparea[32];
|
||||
char temparea[32];
|
||||
|
||||
if (type < ARRAY_SIZE(default_drive_params)) {
|
||||
params = &default_drive_params[type].params;
|
||||
|
|
@ -3596,7 +3596,8 @@ static void __init config_types(void)
|
|||
allowed_drive_mask &= ~(1 << drive);
|
||||
} else {
|
||||
params = &default_drive_params[0].params;
|
||||
sprintf(temparea, "unknown type %d (usb?)", type);
|
||||
snprintf(temparea, sizeof(temparea),
|
||||
"unknown type %d (usb?)", type);
|
||||
name = temparea;
|
||||
}
|
||||
if (name) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue