1. 04 Feb, 2004 40 commits
    • Andrew Morton's avatar
      [PATCH] gcc-3.5: PCMCIA · db623a6b
      Andrew Morton authored
      include/pcmcia/mem_op.h: In function `copy_from_pc':
      include/pcmcia/mem_op.h:85: error: invalid lvalue in assignment
      include/pcmcia/mem_op.h:85: error: invalid lvalue in assignment
      include/pcmcia/mem_op.h: In function `copy_to_pc':
      include/pcmcia/mem_op.h:97: error: invalid lvalue in assignment
      include/pcmcia/mem_op.h:97: error: invalid lvalue in assignment
      include/pcmcia/mem_op.h: In function `copy_pc_to_user':
      include/pcmcia/mem_op.h:109: error: invalid lvalue in assignment
      include/pcmcia/mem_op.h:109: error: invalid lvalue in assignment
      include/pcmcia/mem_op.h: In function `copy_user_to_pc':
      include/pcmcia/mem_op.h:124: error: invalid lvalue in assignment
      include/pcmcia/mem_op.h:124: error: invalid lvalue in assignment
      db623a6b
    • Andrew Morton's avatar
      [PATCH] gcc-3.5: DVB · 14bfca03
      Andrew Morton authored
      drivers/media/dvb/frontends/ves1820.c: In function `ves1820_setup_reg0':
      drivers/media/dvb/frontends/ves1820.c:244: error: invalid lvalue in assignment
      drivers/media/dvb/frontends/ves1820.c:244: error: invalid lvalue in assignment
      drivers/media/dvb/frontends/ves1820.c: In function `ves1820_attach':
      drivers/media/dvb/frontends/ves1820.c:541: error: invalid lvalue in assignment
      drivers/media/dvb/frontends/ves1820.c:541: error: invalid lvalue in assignment
      drivers/media/dvb/frontends/ves1820.c:544: error: invalid lvalue in assignment
      drivers/media/dvb/frontends/ves1820.c:544: error: invalid lvalue in assignment
      drivers/media/dvb/frontends/ves1820.c:545: error: invalid lvalue in assignment
      drivers/media/dvb/frontends/ves1820.c:545: error: invalid lvalue in assignment
      drivers/media/dvb/frontends/ves1820.c:546: error: invalid lvalue in assignment
      drivers/media/dvb/frontends/ves1820.c:546: error: invalid lvalue in assignment
      drivers/media/dvb/frontends/ves1820.c:547: error: invalid lvalue in assignment
      drivers/media/dvb/frontends/ves1820.c:547: error: invalid lvalue in assignment
      14bfca03
    • Andrew Morton's avatar
      [PATCH] gcc-3.5: mtd · 8c6d5497
      Andrew Morton authored
      drivers/mtd/chips/cfi_cmdset_0020.c:545: error: invalid lvalue in increment
      drivers/mtd/chips/cfi_cmdset_0020.c:547: error: invalid lvalue in increment
      drivers/mtd/chips/cfi_cmdset_0020.c:549: error: invalid lvalue in increment
      8c6d5497
    • Andrew Morton's avatar
      [PATCH] gcc-3.5: raid6 · 389092fb
      Andrew Morton authored
      drivers/md/raid6x86.h:1:10: warning: extra tokens at end of #ident directive
      389092fb
    • Andrew Morton's avatar
      [PATCH] gcc-3.5: drivers/ide/pci/sc1200.c · a201ecdf
      Andrew Morton authored
      drivers/ide/pci/sc1200.c: In function `sc1200_suspend':
      drivers/ide/pci/sc1200.c:423: error: invalid lvalue in assignment
      a201ecdf
    • Andrew Morton's avatar
      [PATCH] gcc-3.5: radeon · 3a4a61e2
      Andrew Morton authored
      drivers/char/drm/radeon_state.c: In function `radeon_cp_dispatch_texture':
      drivers/char/drm/radeon_state.c:1411: error: invalid lvalue in assignment
      3a4a61e2
    • Andrew Morton's avatar
      [PATCH] gcc-3.5: drivers/i2c/chips/it87.c · 927b9ea4
      Andrew Morton authored
      drivers/i2c/chips/it87.c:130: warning: conflicting types for built-in function 'log2'
      927b9ea4
    • Andrew Morton's avatar
      [PATCH] gcc-3.5: net/atm/common.c · 6c113729
      Andrew Morton authored
      net/atm/common.c: In function `vcc_create':
      net/atm/common.c:151: error: invalid lvalue in assignment
      6c113729
    • Andrew Morton's avatar
      [PATCH] gcc-3.5: drivers/atm/he.c · 714b5c04
      Andrew Morton authored
      drivers/atm/he.c: In function `he_init_one':
      drivers/atm/he.c:383: error: invalid lvalue in assignment
      drivers/atm/he.c: In function `he_open':
      drivers/atm/he.c:2364: error: invalid lvalue in assignment
      714b5c04
    • Andrew Morton's avatar
      [PATCH] gcc-3.5: drivers/atm/idt77105.c · 045d808b
      Andrew Morton authored
      drivers/atm/idt77105.c: In function `idt77105_start':
      drivers/atm/idt77105.c:268: error: invalid lvalue in assignment
      drivers/atm/idt77105.c: In function `idt77105_stop':
      drivers/atm/idt77105.c:346: error: invalid lvalue in assignment
      045d808b
    • Andrew Morton's avatar
      [PATCH] gcc-3.5: drivers/atm/eni.c · 1582e227
      Andrew Morton authored
      drivers/atm/eni.c: In function `eni_close':
      drivers/atm/eni.c:1878: error: invalid lvalue in assignment
      drivers/atm/eni.c: In function `eni_open':
      drivers/atm/eni.c:1894: error: invalid lvalue in assignment
      drivers/atm/eni.c:1905: error: invalid lvalue in assignment
      drivers/atm/eni.c: In function `eni_init_one':
      drivers/atm/eni.c:2233: error: invalid lvalue in assignment
      1582e227
    • Andrew Morton's avatar
      [PATCH] gcc-3.5: ncpfs · c07b8dc7
      Andrew Morton authored
      fs/ncpfs/ncplib_kernel.h:164: sorry, unimplemented: inlining failed in call to 'ncp_strnicmp': function body not available
      c07b8dc7
    • Andrew Morton's avatar
      [PATCH] gcc-3.5: drivers/atm/fore200e.c · 75e8d989
      Andrew Morton authored
      drivers/atm/fore200e.c: In function `fore200e_open':
      drivers/atm/fore200e.c:1420: error: invalid lvalue in assignment
      drivers/atm/fore200e.c: In function `fore200e_register':
      drivers/atm/fore200e.c:2485: error: invalid lvalue in assignment
      75e8d989
    • Andrew Morton's avatar
      [PATCH] gcc-3.5: suni.c · c6498c4a
      Andrew Morton authored
      drivers/atm/suni.c: In function `suni_start':
      drivers/atm/suni.c:233: error: invalid lvalue in assignment
      c6498c4a
    • Andrew Morton's avatar
      [PATCH] gcc-3.5: iphase.c · 51d2aa6e
      Andrew Morton authored
      drivers/atm/iphase.c: In function `open_tx':
      drivers/atm/iphase.c:1757: error: invalid lvalue in assignment
      drivers/atm/iphase.c: In function `ia_close':
      drivers/atm/iphase.c:2674: error: invalid lvalue in assignment
      drivers/atm/iphase.c: In function `ia_open':
      drivers/atm/iphase.c:2687: error: invalid lvalue in assignment
      drivers/atm/iphase.c:2703: error: invalid lvalue in assignment
      drivers/atm/iphase.c: In function `ia_init_one':
      drivers/atm/iphase.c:3199: error: invalid lvalue in assignment
      51d2aa6e
    • Andrew Morton's avatar
      [PATCH] gcc-3.5: intermezzo · af953c94
      Andrew Morton authored
      fs/intermezzo/dir.c: In function `presto_prep':
      fs/intermezzo/intermezzo_fs.h:414: sorry, unimplemented: inlining failed in call to 'presto_is_read_only': function body not available
      
      fs/intermezzo/presto.c: In function `izo_mark_cache':
      fs/intermezzo/presto.c:341: error: invalid lvalue in assignment
      fs/intermezzo/presto.c:342: error: invalid lvalue in assignment
      af953c94
    • Andrew Morton's avatar
      [PATCH] gcc-3.5: drivers/atm/uPD98402.c · 5f12c733
      Andrew Morton authored
      drivers/atm/uPD98402.c: In function `uPD98402_start':
      drivers/atm/uPD98402.c:214: error: invalid lvalue in assignment
      5f12c733
    • Andrew Morton's avatar
      [PATCH] gcc-3.5: hfs fixes · b8d9ea1d
      Andrew Morton authored
      fs/hfs/file_hdr.c: In function `dup_layout':
      fs/hfs/file_hdr.c:246: error: invalid lvalue in assignment
      b8d9ea1d
    • Andrew Morton's avatar
      [PATCH] gcc-3.5: vxfs fixes · 40876b4b
      Andrew Morton authored
      fs/freevxfs/vxfs.h:33:10: warning: extra tokens at end of #ident directive
      fs/freevxfs/vxfs_extern.h:75: sorry, unimplemented: inlining failed in call to 'vxfs_put_page': function body not available
      40876b4b
    • Andrew Morton's avatar
      [PATCH] gcc-3.5: zatm.c fix · e7966cf3
      Andrew Morton authored
      drivers/atm/zatm.c: In function `zatm_close':
      drivers/atm/zatm.c:1371: error: invalid lvalue in assignment
      drivers/atm/zatm.c: In function `zatm_open':
      drivers/atm/zatm.c:1386: error: invalid lvalue in assignment
      drivers/atm/zatm.c:1398: error: invalid lvalue in assignment
      drivers/atm/zatm.c: In function `zatm_module_init':
      drivers/atm/zatm.c:1600: error: invalid lvalue in assignment
      e7966cf3
    • Andrew Morton's avatar
      [PATCH] gcc-3.5: fsfilter.h, ntfs.h · 6abf6a9a
      Andrew Morton authored
      From: Tim Cambrant <tim@cambrant.com>
      
      Fix inline decls in fsfilter.h, ntfs.h
      6abf6a9a
    • Andrew Morton's avatar
      [PATCH] gcc-3.5: misc.c warning fix · ad924c8a
      Andrew Morton authored
      arch/i386/boot/compressed/misc.c:107: warning: conflicting types for built-in function 'puts'
      ad924c8a
    • Andrew Morton's avatar
      [PATCH] gcc-3.5: i810_accel fix · 6428be3d
      Andrew Morton authored
      drivers/video/i810/i810_accel.c: In function `i810fb_init_ringbuffer':
      drivers/video/i810/i810_accel.c:30: sorry, unimplemented: inlining failed in call to 'flush_cache': function body not available
      6428be3d
    • Andrew Morton's avatar
      [PATCH] gcc-3.5: parport warnings · 097abe8e
      Andrew Morton authored
      drivers/pnp/pnpbios/core.c: In function `pnpbios_probe_system':
      drivers/pnp/pnpbios/core.c:438: warning: use of cast expressions as lvalues is deprecated
      097abe8e
    • Andrew Morton's avatar
      [PATCH] gcc-3.5: sound/core/seq/seq_clientmgr.c · c19da8e8
      Andrew Morton authored
      sound/core/seq/seq_clientmgr.c: In function `snd_seq_open':
      sound/core/seq/seq_clientmgr.c:331: warning: use of cast expressions as lvalues is deprecated
      c19da8e8
    • Andrew Morton's avatar
      [PATCH] More 3.4 compilation fixes · 71efc910
      Andrew Morton authored
      From: Jan Hubicka <jh@suse.cz>
      
      GCC now converts sprintf (a,"%s",b) to strcpy.  This lose on kernel as
      strcpy is not inlined and not present in library, so one gets linker
      failure.  It seems to make sense to apply this optimization by hand.
      71efc910
    • Andrew Morton's avatar
      [PATCH] Fix inlining failure (all GCCs) in parport · b3f36a2a
      Andrew Morton authored
      From: Jan Hubicka <jh@suse.cz>
      
      GCC never inline extern inline function redefined by new body (because it is
      not clear what body one should choose)
      
      parport contains such duplicated functions for apparently no good reasons.
      Both copies differ slightly, not sure whether it is intentional or just
      garbage.
      b3f36a2a
    • Andrew Morton's avatar
      [PATCH] gcc-3.5: _exit fix · 1f98dc7e
      Andrew Morton authored
      include/asm/unistd.h:397: warning: conflicting types for built-in function '_exit'
      
      
      Just remove the dang thing - nobody uses _exit().
      
      Except for the vmware stub, which breaks.  So I kindly exported do_exit() to
      kernel modules, just for vmware...
      1f98dc7e
    • Andrew Morton's avatar
      [PATCH] gcc-3.5: keyboard.c fixes · c0ece855
      Andrew Morton authored
      drivers/char/keyboard.c:205: warning: use of conditional expressions as lvalues is deprecated
      c0ece855
    • Andrew Morton's avatar
      [PATCH] gcc-3.5: elevator.h fixes · 8159ad9b
      Andrew Morton authored
      include/linux/elevator.h:106: sorry, unimplemented: inlining failed in call to 'elv_try_last_merge': function body not available
      8159ad9b
    • Andrew Morton's avatar
      [PATCH] gcc-3.5: ide.h fixes · f0c3fe17
      Andrew Morton authored
      include/linux/ide.h:1424: sorry, unimplemented: inlining failed in call to 'SELECT_MASK': function body not available
      f0c3fe17
    • Andrew Morton's avatar
      [PATCH] gcc-3.5: reiserfs fixes · 151a2954
      Andrew Morton authored
      include/linux/reiserfs_fs.h:1837: sorry, unimplemented: inlining failed in call to 'decrement_bcount': function body not available
      151a2954
    • Andrew Morton's avatar
      [PATCH] gcc-3.5: fix pcm_plugin warnings · 2012ac1a
      Andrew Morton authored
      2012ac1a
    • Andrew Morton's avatar
      [PATCH] gcc-3.5: pcm_misc.c warnings · 622ff847
      Andrew Morton authored
      sound/core/pcm_misc.c:557: warning: use of cast expressions as lvalues is deprecated
      sound/core/pcm_misc.c:568: warning: use of cast expressions as lvalues is deprecated
      sound/core/pcm_misc.c:569: warning: use of cast expressions as lvalues is deprecated
      sound/core/pcm_misc.c:570: warning: use of cast expressions as lvalues is deprecated
      sound/core/pcm_misc.c:586: warning: use of cast expressions as lvalues is deprecated
      sound/core/pcm_misc.c:596: warning: use of cast expressions as lvalues is deprecated
      622ff847
    • Andrew Morton's avatar
      [PATCH] gcc-3.5: binfmt_elf warning fix · fff5cd5e
      Andrew Morton authored
      fs/binfmt_elf.c:171: warning: use of cast expressions as lvalues is deprecated
      fff5cd5e
    • Andrew Morton's avatar
      [PATCH] gcc-3.5: #ident fixes · 2fa8b7c4
      Andrew Morton authored
      arch/i386/kernel/msr.c:1:10: warning: extra tokens at end of #ident directive
      arch/i386/kernel/cpuid.c:1:10: warning: extra tokens at end of #ident directive
      2fa8b7c4
    • Andrew Morton's avatar
      [PATCH] gcc-3.5: fix extern inline decls · 71deb478
      Andrew Morton authored
      include/linux/bio.h:234: sorry, unimplemented: inlining failed in call to 'bio_phys_segments': function body not available
      71deb478
    • Andrew Morton's avatar
      [PATCH] string fixes for gcc 3.4 · c545699a
      Andrew Morton authored
      From: Andi Kleen <ak@muc.de>
      
      gcc 3.4 optimizes sprintf(foo,"%s",string) into strcpy.  Unfortunately that
      isn't seen by the inliner and linux/i386 has no out-of-line strcpy so you
      end up with a linker error.
      
      This patch adds out of line copies for most string functions to avoid this.
      Actually it doesn't export them to modules yet, that would be the next
      step.
      
      BTW In my opinion we shouldn't use inline string functions at all.  The
      __builtin_str* in modern gcc are better (I used them very successfully on
      x86-64) and for the bigger functions like strrchr,strtok et.al.  it just
      doesn't make any sense to inline them or even code them in assembler.
      
      Also fix the bcopy prototype gcc was complaining about.
      c545699a
    • Andrew Morton's avatar
      [PATCH] Fix more gcc 3.4 warnings · d75cb184
      Andrew Morton authored
      From: Andi Kleen <ak@muc.de>
      
      Just many more warning fixes for a gcc 3.4 snapshot.
      
      It warns for a lot of things now, e.g.  for ?: and ({ ...  }) and casts as
      lvalues.  And for functions marked inline in headers, but no body.
      
      Actually there are more warnings, i stopped fixing at some point.  Some of
      the warnings seem to be dubious (e.g.  the binfmt_elf.c one, which looks
      more like a compiler bug to me)
      
      I also fixed the _exit() prototype to be void because gcc was complaining
      about this.
      d75cb184
    • Andrew Morton's avatar
      [PATCH] sisfb update · 60677978
      Andrew Morton authored
      From: Thomas Winischhofer <thomas@winischhofer.net>
      
      sisfb is simply broken in current 2.6.x.  This patch updates sisfb to the
      current development version which no less than 11 months ahead of the version
      in the kernel.
      
      Updated includes
      
      - many fixes (duh)
      
      - support for new chipsets (661, 741, 760)
      
      - support for new video bridges (301C, 302ELV)
      
      - removal of all offending fp code (as discussed earlier this month)
      
      - a lot of code clean-up (which is the main reason for its size)
      60677978