RPMsg inter-partition messaging
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix(lint): add Error.pp, rename create_ept_ioctl (E331/E415)

Add pp pretty-printer for Error.t. Rename create_ept_ioctl to
ept_ioctl in rpmsg. Skip find_rel rename as it collides with the
rel field accessor.

+2 -2
+2 -2
lib/rpmsg.ml
··· 43 43 _IOW(type, nr, size) = (1 << 30) | (size << 16) | (type << 8) | nr *) 44 44 let iow typ nr size = (1 lsl 30) lor (size lsl 16) lor (typ lsl 8) lor nr 45 45 46 - let create_ept_ioctl = iow 0xb5 0x1 endpoint_info_size 46 + let ept_ioctl = iow 0xb5 0x1 endpoint_info_size 47 47 let destroy_ept_ioctl = iow 0xb5 0x2 endpoint_info_size 48 48 49 49 external ioctl : Unix.file_descr -> int -> bytes -> int = "caml_rpmsg_ioctl" ··· 64 64 65 65 let create_endpoint t ~name ~src ~dst = 66 66 let buf = encode_info ~name ~src ~dst in 67 - ioctl t.fd create_ept_ioctl buf 67 + ioctl t.fd ept_ioctl buf 68 68 69 69 let destroy_endpoint t ~name ~src ~dst = 70 70 let buf = encode_info ~name ~src ~dst in