]> git.openfabrics.org - ~emulex/infiniband.git/commitdiff
staging:tidspbridge: rmgr: fix checkpatch errors
authorDevendra Naga <devendra.aaru@gmail.com>
Sun, 17 Mar 2013 05:21:10 +0000 (01:21 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 25 Mar 2013 18:02:55 +0000 (11:02 -0700)
fixes the following errors

ERROR: "foo ** bar" should be "foo **bar"
+int strm_free_buffer(struct strm_res_object *strmres, u8 ** ap_buffer,

ERROR: "foo ** bar" should be "foo **bar"
+int strm_reclaim(struct strm_object *stream_obj, u8 ** buf_ptr,

ERROR: space prohibited after that '*' (ctx:ExW)
+ * hnotification)
  ^

Signed-off-by: Devendra Naga <devendra.aaru@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/tidspbridge/rmgr/strm.c

index 34cc934e0c3d2e3d3ba7df63ef3434f6a6b44521..b88b27bbe2e7a4f791e959c37ad79af2b229a474 100644 (file)
@@ -223,7 +223,7 @@ void strm_delete(struct strm_mgr *strm_mgr_obj)
  *  Purpose:
  *      Frees the buffers allocated for a stream.
  */
-int strm_free_buffer(struct strm_res_object *strmres, u8 ** ap_buffer,
+int strm_free_buffer(struct strm_res_object *strmres, u8 **ap_buffer,
                            u32 num_bufs, struct process_context *pr_ctxt)
 {
        int status = 0;
@@ -523,7 +523,7 @@ func_cont:
  *  Purpose:
  *      Relcaims a buffer from a stream.
  */
-int strm_reclaim(struct strm_object *stream_obj, u8 ** buf_ptr,
+int strm_reclaim(struct strm_object *stream_obj, u8 **buf_ptr,
                        u32 *nbytes, u32 *buff_size, u32 *pdw_arg)
 {
        struct bridge_drv_interface *intf_fxns;
@@ -599,7 +599,7 @@ func_end:
  */
 int strm_register_notify(struct strm_object *stream_obj, u32 event_mask,
                                u32 notify_type, struct dsp_notification
-                               * hnotification)
+                               *hnotification)
 {
        struct bridge_drv_interface *intf_fxns;
        int status = 0;