Skip to content

staging: comedi: cleanup alloc_subdevices

H Hartley Sweeten lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8staging: comedi: add namespace to comedi's alloc_subdevices() functiondrivers/staging/comedi/comedidev.h drivers/staging/comedi/drivers.c drivers/staging/comedi/drivers/8255.c +102 more+127 -1230 replies
2/8staging: comedi: change type of num_subdevices parameter to comedi_alloc_subdevicesdrivers/staging/comedi/comedidev.h drivers/staging/comedi/drivers.c+3 -41 reply
3/8staging: comedi: sanity check num_subdevices parameter in comedi_alloc_subdevicesdrivers/staging/comedi/drivers.c+2 -00 replies
4/8staging: comedi: only set dev->n_subdevices when kcalloc succeedesdrivers/staging/comedi/drivers.c drivers/staging/comedi/drivers/comedi_test.c drivers/staging/comedi/drivers/ni_660x.c +4 more+13 -230 replies
5/8staging: comedi: remove the comed_alloc_subdevices "allocation failed" messagesdrivers/staging/comedi/drivers/8255.c drivers/staging/comedi/drivers/adv_pci1723.c drivers/staging/comedi/drivers/amplc_dio200.c +11 more+10 -410 replies
6/8staging: comedi: remove the "Allocate the subdevice..." commentsdrivers/staging/comedi/drivers/addi-data/addi_common.c drivers/staging/comedi/drivers/addi-data/hwdrv_APCI1710.c drivers/staging/comedi/drivers/adq12b.c +24 more+3 -840 replies
7/8staging: comedi: propogate error code from comedi_alloc_subdevicesdrivers/staging/comedi/drivers/8255.c drivers/staging/comedi/drivers/acl7225b.c drivers/staging/comedi/drivers/addi-data/addi_common.c +100 more+269 -1680 replies
8/8staging: comedi: cleanup comedi_alloc_subdevicesdrivers/staging/comedi/drivers.c+11 -83 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/8] staging: comedi: cleanup alloc_subdevices

Cleanup the comedi core "alloc_subdevices" function and it's use in the comedi drivers.

staging: comedi: add namespace to comedi's alloc_subdevices() function
staging: comedi: change type of num_subdevices parameter to comedi_alloc_subdevices
staging: comedi: sanity check num_subdevices parameter in comedi_alloc_subdevices
staging: comedi: only set dev->n_subdevices when kcalloc succeedes
staging: comedi: remove the comed_alloc_subdevices "allocation failed" messages
staging: comedi: remove the "Allocate the subdevice..." comments
staging: comedi: propogate error code from comedi_alloc_subdevices
staging: comedi: cleanup comedi_alloc_subdevices