]> git.karo-electronics.de Git - linux-beck.git/commit
staging: gs_fpgaboot: fix a compiler warning with make W=2
authorDevendra Naga <devendranaga4@gmail.com>
Fri, 24 Oct 2014 20:31:56 +0000 (02:01 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 29 Oct 2014 09:39:55 +0000 (17:39 +0800)
commit84e9cd6b5c42d021cc0a2dac7d6e49e9d9dfa037
treeabbda584186221d5e2d5f75f8eac6e66e5b29d49
parenta5841ff372c3c79c266ef383e7faee8206f0f757
staging: gs_fpgaboot: fix a compiler warning with make W=2

The below warning is fixed:

drivers/staging/gs_fpgaboot/gs_fpgaboot.c: In function ‘gs_load_image’:
drivers/staging/gs_fpgaboot/gs_fpgaboot.c:196:58: warning: declaration of ‘file’ shadows a global declaration [-Wshadow]
drivers/staging/gs_fpgaboot/gs_fpgaboot.c:45:14: warning: shadowed declaration is here [-Wshadow]

by renaming file function argument of gs_load_image with fw_file.

Signed-off-by: Devendra Naga <devendranaga4@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/gs_fpgaboot/gs_fpgaboot.c