android_kernel_xiaomi_sm8350/net/irda
Jeremy Fitzhardinge 1e66df3ee3 add kstrndup
Add a kstrndup function, modelled on strndup.  Like strndup this
returns a string copied into its own allocated memory, but it copies
no more than the specified number of bytes from the source.

Remove private strndup() from irda code.

Signed-off-by: Jeremy Fitzhardinge <jeremy@xensource.com>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Randy Dunlap <randy.dunlap@oracle.com>
Cc: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Cc: Akinobu Mita <akinobu.mita@gmail.com>
Cc: Arnaldo Carvalho de Melo <acme@mandriva.com>
Cc: Al Viro <viro@ftp.linux.org.uk>
Cc: Panagiotis Issaris <takis@issaris.org>
Cc: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
2007-07-18 08:47:39 -07:00
..
ircomm [NET]: Make all initialized struct seq_operations const. 2007-07-10 23:07:31 -07:00
irlan [NET]: Make all initialized struct seq_operations const. 2007-07-10 23:07:31 -07:00
irnet
af_irda.c
discovery.c [NET]: Make all initialized struct seq_operations const. 2007-07-10 23:07:31 -07:00
irda_device.c
iriap_event.c
iriap.c [NET]: Make all initialized struct seq_operations const. 2007-07-10 23:07:31 -07:00
irias_object.c add kstrndup 2007-07-18 08:47:39 -07:00
irlap_event.c [IrDA]: f-timer reloading when sending rejected frames. 2007-06-08 19:15:56 -07:00
irlap_frame.c [IrDA]: Monitor mode. 2007-07-10 22:16:44 -07:00
irlap.c [NET]: Make all initialized struct seq_operations const. 2007-07-10 23:07:31 -07:00
irlmp_event.c
irlmp_frame.c
irlmp.c [NET]: Make all initialized struct seq_operations const. 2007-07-10 23:07:31 -07:00
irmod.c [IrDA]: Netlink layer. 2007-07-10 22:16:43 -07:00
irnetlink.c [IrDA]: Netlink layer. 2007-07-10 22:16:43 -07:00
irproc.c
irqueue.c
irsysctl.c
irttp.c [NET]: Make all initialized struct seq_operations const. 2007-07-10 23:07:31 -07:00
Kconfig
Makefile [IrDA]: Netlink layer. 2007-07-10 22:16:43 -07:00
parameters.c
qos.c
timer.c
wrapper.c