Skip to contentSkip to conversation

: Compilation warning in control_compat.c

ALSA - driver 0001959 [email protected] 1 participant 1 message Mar 24, 2006

lore
Share & tools
lore
#0 lore raw

A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1959>
======================================================================

Reported By:                Henne
Assigned To:                perex
======================================================================
Project:                    ALSA - driver
Issue ID:                   1959
Category:                   0_compilation problem_!!!
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Distribution:               
Kernel Version:             
======================================================================
Date Submitted:             03-24-2006 20:58 CET
Last Modified:              03-24-2006 21:11 CET

======================================================================
Summary: Compilation warning in control_compat.c
Description:
I've compiled the new alsa-driver-1.0.11rc4 and got a warning message:

/alsa-kernel/core/control_compat.c: In function &#8216;copy_ctl_value_from_user&#8217;:
/alsa-kernel/core/control_compat.c:222: warning: &#8216;count&#8217; may be used uninitialized in this function

I belive that this is a gcc-error (I use gcc version 4.0.2 20050901 (prerelease) (SUSE Linux)), since I looked at the code and
======================================================================

----------------------------------------------------------------------
Henne - 03-24-06 21:11
----------------------------------------------------------------------
Please remove that. I posted it twice.

Issue History
Date Modified Username Field Change
======================================================================
03-24-06 20:58 Henne New Issue
03-24-06 21:11 Henne Note Added: 0008937
======================================================================

-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642