Re: [linux-minidisc] [PATCH 1/6] Make function acting on a transfer accept a pointer to transfer.


Hi,

ok, tried to apply the first set of patches today. Unfortunately there
seems to be a problem with the formatting of the patches:

glaubitz@z6:..0/linux-minidisc> git pull
Already up-to-date.

glaubitz@z6:..0/linux-minidisc> patch -p1 < ~glaubitz/vincent-patches/0001_Make_function_acting_on_a_transfer_accept_a_pointer_to_transfer.patch
patching file netmd/libusb1.py
patch: **** malformed patch at line 22: buffer, callback,

glaubitz@z6:..0/linux-minidisc> patch -p1 < ~glaubitz/vincent-patches/0002_This_is_no_WTF_simply_a_pointer_to_ISO_packet_descriptor.patch 
patching file netmd/libusb1.py
patch: **** malformed patch at line 18: libusb_device_handle_p),

glaubitz@z6:..0/linux-minidisc> patch -p1 < ~glaubitz/vincent-patches/0003_Make_some_function_accepting_opaque_data_pointer_accept_apy_object.patch 
patching file netmd/libusb1.py
patch: **** malformed patch at line 20: libusb_device_handle_p),

glaubitz@z6:..0/linux-minidisc> patch -p1 < ~glaubitz/vincent-patches/0004_Make_transfer_buffer_field_a_c_void_p_type.patch 
patching file netmd/libusb1.py
patch: **** malformed patch at line 12: libusb_device_handle_p),

glaubitz@z6:..0/linux-minidisc> patch -p1 < ~glaubitz/vincent-patches/0005_Export_methods_to_release_resources.patch 
patching file netmd/usb1.py

glaubitz@z6:..0/linux-minidisc> patch -p1 < ~glaubitz/vincent-patches/0006_Implement_asynchronous_transfers.patch 
patching file netmd/usb1.py
patch: **** malformed patch at line 20: timeout)

All patches except for patch #0005 are malformed, I think it's
something with the line break? Could you recreate these patches from
your git repo or do you want me to fix them manually?


Adrian