[PATCH 0/2] staging: comedi: comedi_init() fix clean-up

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Patch 1 is fixes a "clean-up on error" bug when initializing the comedi
module.

Patch 2 uses the power of "goto" to simplify the clean-up code.

1) staging: comedi: fix clean-up of comedi_class in comedi_init()
2) staging: comedi: use centralized error clean-up in comedi_init()

 drivers/staging/comedi/comedi_fops.c | 42 +++++++++++++++++++-----------------
 1 file changed, 22 insertions(+), 20 deletions(-)
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel



[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux