create libcomposite

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

 



This series creates the libcomposite and is based on "Towords libcomposite, v2"
It addresses the review comments of series which starts with "usb/gadget:
start with libcomposite" and extends it.

The numbers were gather from "size" on each gadget before and after series.

      text          data            bss              dec         diff dec           filename
  old     new    old    new      old    new       old     new   %    bytes
      0 13169      0     376      0       8         0   13553    ∞%   13169 libcomposite.ko
  45974	33254   1516	1492    900	808     48390	35554  ~73%  -12836 g_acm_ms.ko
  20070	 7350   1380	1316    184	 56     21634	 8722  ~40%  -12912 g_audio.ko
  34625	21965   1524	1532    564	440     36713	23937  ~65%  -12776 g_cdc.ko
   9869	 8525    476	 476    384	384     10729	 9385  ~87%  -1344  g_dbgp.ko
  39697	27008   2210	2146    276	132     42183	29286  ~69%  -12897 g_ether.ko
  49719	37890   2364	2368    356	244     52439	40502  ~77%  -11937 g_ffs.ko
  25849	22972   1012	1012    136	136     26997	24120  ~89%  -2877  g_file_storage.ko
  18163	 5499    944	 944    212	 72     19319	 6515  ~33%  -12804 g_hid.ko
  35665	23066   1092	1104    492	444     37249	24614  ~66%  -12635 g_mass_storage.ko
  19275	 6653    914	 902     96	 24     20285	 7579  ~37%  -12706 g_midi.ko
  69522	56701   2840	2840   1000	936     73362	60477  ~82%  -12885 g_multi.ko
  27398	14862   1187	1163    212	 80     28797	16105  ~55%  -12692 g_ncm.ko
  40515	27922   2244	2276    532	464     43291	30662  ~70%  -12629 g_nokia.ko
  21735	 9100   2064	2008    700	572     24499	11680  ~47%  -12819 g_printer.ko
  27330	14668   1520	1464    532	380     29382	16512  ~56%  -12870 g_serial.ko
  24837	13111    993	1025    136	 68     25966	14204  ~54%  -11762 g_webcam.ko
  20219	 7548   1444	1412    244	104     21907	 9064  ~41%  -12843 g_zero.ko
  26143	14588   1216	1204    148	80      27507	15872  ~57%  -11635 tcm_usb_gadget.ko

v1..v2:
	- hide libcomposite and use selects to enable it. Every gadget
	  depends on it except gadgetfs (inode.c)
	- moved usb_gadget_controller_number() into a .c file.
	- s/USB_GADGET_COMPOSITE_OVERWRITE_VID_PID_BCD/USB_GADGET_COMPOSITE_OVERWRITE_OPTIONS
	  it will be used for iSerial as well.
        - use put do while around USB_GADGET_COMPOSITE_OVERWRITE_OPTIONS
	- remove all global variables in finally create libcomposite

Sebastian


Sebastian
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux