Ignore:
Timestamp:
Jun 12, 2007, 11:32:16 PM (18 years ago)
Author:
stevenhl
Message:

Make a bunch of warnings go away

Location:
GPL/trunk/alsa-kernel/pci
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • GPL/trunk/alsa-kernel/pci/ac97/ac97_codec.c

    r86 r130  
    19311931}
    19321932
     1933#if 0 // fixme to be gone?
    19331934/* stop no dev release warning */
    19341935static void ac97_device_release(struct device * dev)
    19351936{
    19361937}
     1938#endif // fixme to be gone?
    19371939
    19381940/* register ac97 codec to bus */
    19391941static int snd_ac97_dev_register(struct snd_device *device)
    19401942{
    1941 #if 0
     1943#if 0 // fixme to be gone?
    19421944    struct snd_ac97 *ac97 = device->device_data;
    19431945        int err;
     
    19541956                return err;
    19551957        }
    1956 #endif
     1958#endif // fixme to be gone?
    19571959        return 0;
    19581960}
  • GPL/trunk/alsa-kernel/pci/ac97/ac97_patch.c

    r86 r130  
    20812081        unsigned short val;
    20822082
    2083         if (ucontrol->value.enumerated.item[0] > 3
    2084             || ucontrol->value.enumerated.item[0] < 0)
     2083        // if (ucontrol->value.enumerated.item[0] > 3   // 12 Jun 07 SHL
     2084        //    || ucontrol->value.enumerated.item[0] < 0)        // 12 Jun 07 SHL
     2085        if (ucontrol->value.enumerated.item[0] > 3)
    20852086                return -EINVAL;
    20862087        val = ctrl2reg[ucontrol->value.enumerated.item[0]]
  • GPL/trunk/alsa-kernel/pci/emu10k1/emu10k1x.c

    r84 r130  
    780780}
    781781
    782 static irqreturn_t snd_emu10k1x_interrupt(int irq, void *dev_id)
     782static irqreturn_t snd_emu10k1x_interrupt(int irq, void *dev_id, struct pt_regs *unused)
    783783{
    784784    unsigned int status;
  • GPL/trunk/alsa-kernel/pci/emu10k1/emuproc.c

    r34 r130  
    176176
    177177    struct snd_emu10k1 *emu = entry->private_data;
    178     unsigned int val;
     178    unsigned int val = 0;               // 11 Jun 07 SHL fixme to know why not used
    179179    int nefx = emu->audigy ? 64 : 32;
    180180    char **outputs = emu->audigy ? audigy_outs : creative_outs;
  • GPL/trunk/alsa-kernel/pci/emu10k1/irq.c

    r84 r130  
    3232#include <sound/emu10k1.h>
    3333
    34 irqreturn_t snd_emu10k1_interrupt(int irq, void *dev_id)
     34irqreturn_t snd_emu10k1_interrupt(int irq, void *dev_id, struct pt_regs *notused)
    3535{
    3636    struct snd_emu10k1 *emu = dev_id;
  • GPL/trunk/alsa-kernel/pci/hda/hda_intel.c

    r86 r130  
    398398 * Compiler should optimize and eliminate the code if dma_addr_t is 32bit
    399399 */
    400 #define upper_32bit(addr) (sizeof(addr) > 4 ? (u32)((addr) >> 32) : (u32)0)
     400#define upper_32bit(addr) (sizeof(addr) > 4 ? (u32)(((unsigned long long)addr) >> 32) : (u32)0)
    401401
    402402static int azx_acquire_irq(struct azx *chip, int do_disconnect);
Note: See TracChangeset for help on using the changeset viewer.