• Borislav Petkov's avatar
    hdaps: Shut up gcc uninitialized variable warnings · b94e88bc
    Borislav Petkov authored
    Turn off the following triggered with gcc 4.6.1 on Debian testing:
    
    drivers/platform/x86/hdaps.c: In function ‘hdaps_temp2_show’:
    drivers/platform/x86/hdaps.c:398:16: warning: ‘temp’ may be used uninitialized in this function [-Wuninitialized]
    drivers/platform/x86/hdaps.c: In function ‘hdaps_temp1_show’:
    drivers/platform/x86/hdaps.c:385:16: warning: ‘temp’ may be used uninitialized in this function [-Wuninitialized]
    
    Cc: Frank Seidel <frank@f-seidel.de>
    Cc: Matthew Garrett <mjg@redhat.com>
    Cc: platform-driver-x86@vger.kernel.org
    Signed-off-by: default avatarBorislav Petkov <bp@alien8.de>
    Signed-off-by: default avatarMatthew Garrett <mjg@redhat.com>
    b94e88bc
hdaps.c 16.7 KB