summaryrefslogtreecommitdiffstats
path: root/drivers/staging/cpc-usb
Commit message (Collapse)AuthorAgeFilesLines
* Staging: cpc-usb: fix build warningsGreg Kroah-Hartman2009-06-191-1/+1
| | | | | | This fixes some build warnings in the cpc-usb driver. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: cpc-usb: fix printk format warningsAlexander Beregalov2009-06-191-2/+2
| | | | | | | | | | | | Fix this warnings: cpc-usb_drv.c:478: warning: format '%d' expects type 'int', but argument 4 has type 'size_t' cpc-usb_drv.c:1034: warning: format '%d' expects type 'int', but argument 3 has type 'long unsigned int' Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: cpc-usb: depends on PROC_FSAlexander Beregalov2009-06-193-11/+3
| | | | | | | | | | Fix this build error when PROC_FS is not enabled: cpc-usb_drv.c:61:2: error: #error "PROCFS needed" cpc-usb_drv.c:1159: error: implicit declaration of function 'proc_mkdir' Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: cpc-usb: Adjust NULL testJulia Lawall2009-06-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since card must already be non-NULL, it seems that what was intended was to test the result of kmalloc. The semantic patch that makes this change is as follows: (http://www.emn.fr/x-info/coccinelle/) // <smpl> @@ expression E,E1; identifier f,fld,fld1; statement S1,S2; @@ E->fld = f(...); ... when != E = E1 when != E->fld1 = E1 if ( - E + E->fld == NULL) S1 else S2 // </smpl> Signed-off-by: Julia Lawall <julia@diku.dk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: cpc-usb: add TODO fileGreg Kroah-Hartman2009-06-191-0/+9
| | | | | | | | List what needs to be done to get this driver merged into the main part of the kernel tree. Cc: Sebastian Haas <haas@ems-wuensche.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: cpc-usb: fix checkpatch warnings in sja2m16c.hGreg Kroah-Hartman2009-06-191-25/+25
| | | | | | | This fixes most of the coding style issues in sja2m16c.h Cc: Sebastian Haas <haas@ems-wuensche.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: cpc-usb: fix up checkpatch errors in cpc-usb_drv.cGreg Kroah-Hartman2009-06-191-113/+75
| | | | | | | This resolves the checkpatch errors in cpc-usb_drv.c Cc: Sebastian Haas <haas@ems-wuensche.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: cpc-usb: add driver to the buildGreg Kroah-Hartman2009-06-192-0/+7
| | | | | | | This adds the cpc-usb driver to the kernel build Cc: Sebastian Haas <haas@ems-wuensche.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: cpc-usb: fix some build problems in the driverGreg Kroah-Hartman2009-06-191-4/+1
| | | | | | | It will now build properly on the latest kernel tree. Cc: Sebastian Haas <haas@ems-wuensche.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: add cpc-usb driver to the staging treeSebastian Haas2009-06-196-0/+2336
This is a CPC CAN USB driver. Just some comments: cpcusb.h and cpc-usb_drv.c: Essential driver source code sja2m16c_2.c: Helper for converting bitrate timings cpc.h: Structures and definition needed to communicate with the device From: Sebastian Haas <haas@ems-wuensche.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
OpenPOWER on IntegriCloud