mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
arch/i386/* fs/* ipc/*: mark variables with uninitialized_var()
Mark variables with uninitialized_var() if such a warning appears, and analysis proves that the var is initialized properly on all paths it is used. Signed-off-by: Jeff Garzik <[email protected]>
This commit is contained in:
parent
a6343afb6e
commit
8e1c091ccc
5 changed files with 7 additions and 6 deletions
|
|
@ -856,7 +856,7 @@ static int semctl_down(struct ipc_namespace *ns, int semid, int semnum,
|
|||
{
|
||||
struct sem_array *sma;
|
||||
int err;
|
||||
struct sem_setbuf setbuf;
|
||||
struct sem_setbuf uninitialized_var(setbuf);
|
||||
struct kern_ipc_perm *ipcp;
|
||||
|
||||
if(cmd == IPC_SET) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue