Changeset 130


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

Make a bunch of warnings go away

Location:
GPL/trunk
Files:
12 edited

Legend:

Unmodified
Added
Removed
  • GPL/trunk/alsa-kernel/core/seq/seq_timer.c

    r34 r130  
    5555                tick->resolution += s;
    5656        }
    57         if (tick->resolution <= 0)
     57        if (tick->resolution == 0)
    5858                tick->resolution = 1;
    5959        snd_seq_timer_update_tick(tick, 0);
  • GPL/trunk/alsa-kernel/include/sound/emu10k1.h

    r84 r130  
    15201520int snd_emu10k1_fx8010_new(struct snd_emu10k1 *emu, int device, struct snd_hwdep ** rhwdep);
    15211521
    1522 irqreturn_t snd_emu10k1_interrupt(int irq, void *dev_id);
     1522irqreturn_t snd_emu10k1_interrupt(int irq, void *dev_id, struct pt_regs *);
    15231523
    15241524void snd_emu10k1_voice_init(struct snd_emu10k1 * emu, int voice);
  • 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);
  • GPL/trunk/include/dbgos2.h

    r32 r130  
    4242#define dprintf3(a)     if(DebugLevel > 2) DPE a
    4343#define DebugInt3()     ; //_asm int 3;
    44 #else
     44#else // #ifndef DEBUG
    4545#define dprintf(a)
    4646#define dprintf2(a)
    4747#define dprintf3(a)
    4848#define DebugInt3()     ;
    49 #endif
     49#endif // if DEBUG
    5050
    5151#endif //__COMMDBG_H__
  • GPL/trunk/include/linux/sched.h

    r128 r130  
    4444void schedule(void);
    4545
     46// 12 Jun 07 SHL Drop superfluous near
    4647extern int request_irq(unsigned int,
    47                        int (near *handler)(int, void *, struct pt_regs *),
     48                       int (*handler)(int, void *, struct pt_regs *),
    4849                       unsigned long, const char *, void *);
    4950extern void free_irq(unsigned int, void *);
  • GPL/trunk/include/ossidc32.h

    r127 r130  
    3232#endif
    3333
     34//16 bits pdd calls this during init. OSS_InitDriver calls init_module
     35int MyDevBlock(ULONG id, ULONG tout, char flag);
     36
    3437//32 bits IDC procedures
    35 //16 bits pdd calls this during init. OSS_InitDriver calls init_module
    36 extern int MyDevBlock(ULONG id, ULONG tout, char flag);
    3738OSSRET OSS32_Initialize();
    3839OSSRET OSS32_Shutdown();
     40
     41int OSS32_CloseUNI16(void);     // 12 Jun 07 SHL
     42
    3943OSSRET OSS32_QueryDevCaps(ULONG deviceid, POSS32_DEVCAPS pDevCaps);
    4044OSSRET OSS32_QueryNames(ULONG deviceid, char *pszDeviceName, ULONG cbDeviceName,
  • GPL/trunk/lib32/sound.c

    r86 r130  
    5757
    5858//OSS32 to ALSA datatype conversion table
    59 static OSSToALSADataType[OSS32_PCM_MAX_FORMATS] = {
     59static int OSSToALSADataType[OSS32_PCM_MAX_FORMATS] = {
    6060/* OSS32_PCM_FORMAT_S8     */ SNDRV_PCM_FORMAT_S8,          //signed 8 bits sample
    6161/* OSS32_PCM_FORMAT_U8     */ SNDRV_PCM_FORMAT_U8,          //unsigned 8 bits sample
     
    592592//******************************************************************************
    593593//******************************************************************************
     594
    594595OSSRET OSS32_WaveClose(OSSSTREAMID streamid)
    595596{
Note: See TracChangeset for help on using the changeset viewer.