1. 31 8月, 2007 1 次提交
    • W
      SCTP: Fix to encode PROTOCOL VIOLATION error cause correctly · 00f1c2df
      Wei Yongjun 提交于
      PROTOCOL VIOLATION error cause in ABORT is bad encode when make abort
      chunk. When SCTP encode ABORT chunk with PROTOCOL VIOLATION error cause,
      it just add the error messages to PROTOCOL VIOLATION error cause, the
      rest four bytes(struct sctp_paramhdr) is just add to the chunk, not
      change the length of error cause. This cause the ABORT chunk to be a bad
      format. The chunk is like this:
      
      ABORT chunk
        Chunk type: ABORT (6)
        Chunk flags: 0x00
        Chunk length: 72 (*1)
        Protocol violation cause
          Cause code: Protocol violation (0x000d)
          Cause length: 62 (*2)
          Cause information: 5468652063756D756C61746976652074736E2061636B2062...
          Cause padding: 0000
      [Needless] 00030010
      Chunk Length(*1) = 72 but Cause length(*2) only 62, not include the
      extend 4 bytes.
      ((72 - sizeof(chunk_hdr)) = 68) != (62 +3) / 4 * 4
      Signed-off-by: NWei Yongjun <yjwei@cn.fujitsu.com>
      Signed-off-by: NVlad Yasevich <vladislav.yasevich@hp.com>
      00f1c2df
  2. 30 8月, 2007 1 次提交
  3. 27 8月, 2007 19 次提交
  4. 26 8月, 2007 2 次提交
  5. 25 8月, 2007 3 次提交
    • X
      agp: Add device id for P4M900 to via-agp module · 32ddef98
      Xavier Bachelot 提交于
      Signed-off-by: NDave Airlie <airlied@linux.ie>
      32ddef98
    • O
      [POWERPC] Fix undefined reference to device_power_up/resume · e120e8d0
      Olaf Hering 提交于
      Current Linus tree fails to link on pmac32:
      
      drivers/built-in.o: In function `pmac_wakeup_devices':
      via-pmu.c:(.text+0x5bab4): undefined reference to `device_power_up'
      via-pmu.c:(.text+0x5bb08): undefined reference to `device_resume'
      drivers/built-in.o: In function `pmac_suspend_devices':
      via-pmu.c:(.text+0x5c260): undefined reference to `device_power_down'
      via-pmu.c:(.text+0x5c27c): undefined reference to `device_resume'
      make[1]: *** [.tmp_vmlinux1] Error 1
      
      changing CONFIG_PM > CONFIG_PM_SLEEP leads to:
      
      drivers/built-in.o: In function `pmu_led_set':
      via-pmu-led.c:(.text+0x5cdca): undefined reference to `pmu_sys_suspended'
      via-pmu-led.c:(.text+0x5cdce): undefined reference to `pmu_sys_suspended'
      drivers/built-in.o: In function `pmu_req_done':
      via-pmu-led.c:(.text+0x5ce3e): undefined reference to `pmu_sys_suspended'
      via-pmu-led.c:(.text+0x5ce42): undefined reference to `pmu_sys_suspended'
      drivers/built-in.o: In function `adb_init':
      (.init.text+0x4c5c): undefined reference to `pmu_register_sleep_notifier'
      make[1]: *** [.tmp_vmlinux1] Error 1
      
      So change even more places from PM to PM_SLEEP to allow linking.
      Signed-off-by: NOlaf Hering <olaf@aepfle.de>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      e120e8d0
    • A
      ACPI: Fix a warning of discarding qualifiers from pointer target type · 70b30fb1
      Al Viro 提交于
      drivers/acpi/ec.c: In function `acpi_ec_ecdt_probe':
      drivers/acpi/ec.c:873: warning: passing arg 1 of `acpi_get_devices' discards qualifiers from pointer target type
      Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
      Signed-off-by: NLen Brown <len.brown@intel.com>
      70b30fb1
  6. 24 8月, 2007 5 次提交
  7. 23 8月, 2007 9 次提交