- 08 1月, 2013 40 次提交
-
-
由 Ilija Hadzic 提交于
This comes handy when hacking with different cross compilers, some of which may or may not have _FORTIFY_SOURCE turned on by default. This patch allows us to turn _FORTIFY_SOURCE on by specifying --with-fortify option at configuration time (or to turn it off by specifying --without-fortify). If nothing is specified, default compiler behavior is assumed. Signed-off-by: NIlija Hadzic <ihadzic@research.bell-labs.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Ilija Hadzic 提交于
USBIP daemon relies on functions available in glib2 library to spawn handler code for incoming connection. This makes the whole program dependent on glib2 library, which is a GNOME library that on systems that don't have GNOME results in pulling more dependency, only to be able to run a relatively trivial socket-based program. While this may not seem to be a problem on full-blown desktops that already have the necessary libraries, it is a big issue on small embedded systems (think USB hub with an Ethernet port) that only have bare essentials in their file systems. This patch eliminates glib2 dependency by reworking the code to use lower level system calls to dispatch connection handler. Instead of using glib2-style event loop and dispatching mechanism, just do a ppoll(2) system call in our own loop and call accept(2) followed by fork(2) on the socket that has incoming connection. Stevens' books taught us that more than twenty years ago. No need for anything smarter in a simple server, such as usbipd. Signed-off-by: NIlija Hadzic <ihadzic@research.bell-labs.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Ilija Hadzic 提交于
There are a bunch of automatically generated files that git should not care about. Signed-off-by: NIlija Hadzic <ihadzic@research.bell-labs.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Ilija Hadzic 提交于
File doc/usbip_bind_driver.8 does not exist any more but it is listed in dist_man_MANS. This breaks the build of the userspace. Remove the file from the list. Signed-off-by: NIlija Hadzic <ihadzic@research.bell-labs.com> Acked-by: NDavid Chang <dchang@suse.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Kurt Kanzenbach 提交于
strict_strtoul is obsolete and should be replaced with kstrto* function as reported by checkpatch.pl. pInfo->CardNumber is a u8. This is why kstrtou8 should be used here. Signed-off-by: NKurt Kanzenbach <shifty91@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Ondrej Zary 提交于
After unifying struct ft1000_info, struct ft1000_device is now wrong name. Rename it to ft1000_usb to match its semantics. Signed-off-by: NOndrej Zary <linux@rainbow-software.org> Reviewed-by: NMarek Belisko <marek.belisko@open-nandra.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Ondrej Zary 提交于
Unify struct ft1000_info between ft1000-usb and ft1000-pcmcia and move it to common ft1000.h. Signed-off-by: NOndrej Zary <linux@rainbow-software.org> Tested-by: NMarek Belisko <marek.belisko@open-nandra.com> Review-by: NMarek Belisko <marek.belisko@open-nandra.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Masanari Iida 提交于
Correct spelling typo in comments within vt6655 driver. Signed-off-by: NMasanari Iida <standby24x7@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Cyril Roelandt 提交于
This call is followed by a call to memcpy() on the same memory area, so it can be safely removed. Signed-off-by: NCyril Roelandt <tipecaml@gmail.com> Acked-by: NMarcos Paulo de Souza <marcos.souza.org@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Malcolm Priestley 提交于
This patch cleans up function declarations, definitions and local variables where appropriate replacing types defined in "ttype.h" with linux/types.h. Signed-off-by: NMalcolm Priestley <tvboxspy@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Malcolm Priestley 提交于
This patch cleans up function declarations, definitions and local variables were appropriate replacing types defined in "ttype.h" with linux/types.h Signed-off-by: NMalcolm Priestley <tvboxspy@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Malcolm Priestley 提交于
This patch cleans up function declarations, definitions and local variables were appropriate replacing types defined in "ttype.h" with linux/types.h. Signed-off-by: NMalcolm Priestley <tvboxspy@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Malcolm Priestley 提交于
This patch also cleans up function declarations, definitions and local variables were appropriate replacing types defined in "ttype.h" with linux/types.h. Signed-off-by: NMalcolm Priestley <tvboxspy@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Malcolm Priestley 提交于
This patch also cleans up function declarations, definitions and local variables were appropriate replacing types defined in "ttype.h" with linux/types.h. Signed-off-by: NMalcolm Priestley <tvboxspy@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Malcolm Priestley 提交于
This patch and the next 8 patches remove the old structure names and replace; struct vnt_private for DEVICE_INFO and PSDevice struct vnt_manager for SMgmtObject struct vnt_rx_mgmt for SRxMgmtPacket and PSRxMgmtPacket struct vnt_tx_mgmt for STxMgmtPacket and PSTxMgmtPacket and struct vnt_manager vnt_mgmt to replace SMgmtObject sMgmtObj; Applied after patch staging: vt6656: dpc.c :RXbBulkInProcessData clean up RSC Signed-off-by: NMalcolm Priestley <tvboxspy@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Malcolm Priestley 提交于
Signed-off-by: NMalcolm Priestley <tvboxspy@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Cyril Roelandt 提交于
A few lines after this call, we memcpy over the same memory area, so the call to memset is not necessary. Signed-off-by: NCyril Roelandt <tipecaml@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Johan Meiring 提交于
This commit fixes incorrect placement of the asterisk character. Signed-off-by: NJohan Meiring <johanmeiring@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Johan Meiring 提交于
This commit converts a C99 // comment to /* */ Signed-off-by: NJohan Meiring <johanmeiring@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Johan Meiring 提交于
This commit corrects the spacing in an and around parentheses in the file. Signed-off-by: NJohan Meiring <johanmeiring@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Johan Meiring 提交于
This commit converts C99 // comments to /* */ Signed-off-by: NJohan Meiring <johanmeiring@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Johan Meiring 提交于
This commit converts instances of space-based indentation to tabs. Signed-off-by: NJohan Meiring <johanmeiring@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Johan Meiring 提交于
This commit fixes incorrect brace placements in the file, as indicated by the checkpatch.pl tool. Signed-off-by: NJohan Meiring <johanmeiring@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Johan Meiring 提交于
This commit fixes issues related to the styling of case statements. Signed-off-by: NJohan Meiring <johanmeiring@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Johan Meiring 提交于
This commit forces the file to use <linux/uaccess.h> instead of <asm/uaccess.h>. Everything still compiles a-OK. Signed-off-by: NJohan Meiring <johanmeiring@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Johan Meiring 提交于
This commit fixes further parentheses styling issues as identified by the checkpatch.pl tool. Signed-off-by: NJohan Meiring <johanmeiring@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Johan Meiring 提交于
This commit fixes many instances where the spacing in and around parentheses was applied incorrectly. Signed-off-by: NJohan Meiring <johanmeiring@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Johan Meiring 提交于
This commit converts a C99 // comment to /* */. The checkpatch.pl tool reports that this file has no further styling issues. Signed-off-by: NJohan Meiring <johanmeiring@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Johan Meiring 提交于
This commit cleans up the spacing around parentheses. Signed-off-by: NJohan Meiring <johanmeiring@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Johan Meiring 提交于
This commit converts C99 // comments to /* */ Signed-off-by: NJohan Meiring <johanmeiring@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Johan Meiring 提交于
This commit cleans up a styling issue when casting to "hcf_8 *". Signed-off-by: NJohan Meiring <johanmeiring@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Johan Meiring 提交于
This commit fixes an instance where the spacing around parentheses was incorrect. Signed-off-by: NJohan Meiring <johanmeiring@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Johan Meiring 提交于
This minor change simply removes quotations from within a comment so that the checkpatch.pl tool won't complain about a malformed include filename anymore. Signed-off-by: NJohan Meiring <johanmeiring@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Johan Meiring 提交于
This commit various cases where there were spaces before tabs, as reported by the checkpatch.pl tool. Signed-off-by: NJohan Meiring <johanmeiring@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Johan Meiring 提交于
This commit fixes issues regarding spacing around parentheses. The checkpatch.pl tool reports that this file has no further styling issues. Signed-off-by: NJohan Meiring <johanmeiring@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Johan Meiring 提交于
This commit converts C99 // comments to /* */ Signed-off-by: NJohan Meiring <johanmeiring@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Johan Meiring 提交于
This commit corrects cases where lines where longer than 80 characters. checkpatch.pl now reports that this file has no further issues. Signed-off-by: NJohan Meiring <johanmeiring@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Johan Meiring 提交于
This commit converts C99 // comments to /* */ Signed-off-by: NJohan Meiring <johanmeiring@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Johan Meiring 提交于
This commit fixes the incorrect spacing around parentheses. Signed-off-by: NJohan Meiring <johanmeiring@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Johan Meiring 提交于
This commit removes parentheses that were used as part of return statements, seeing as how return is not a function. Signed-off-by: NJohan Meiring <johanmeiring@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-