public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 3/3] Staging: rts5208: Coding style warnings fix for block comments
@ 2015-09-21 17:59 Punit Vara
  2015-09-29  0:25 ` Greg KH
  0 siblings, 1 reply; 3+ messages in thread
From: Punit Vara @ 2015-09-21 17:59 UTC (permalink / raw)
  To: gregkh; +Cc: joe, devel, linux-kernel, Punit Vara

This patch is to rtsx_chip.h that fixes up following warning reported
by checkpatch.pl :

-Block comments use * on subsequent lines
-Block comments use a trailing */ on a separate line

Signed-off-by: Punit Vara <punitvara@gmail.com>
---
 drivers/staging/rts5208/rtsx_chip.h | 66 +++++++++++++++++++++++--------------
 1 file changed, 42 insertions(+), 24 deletions(-)

diff --git a/drivers/staging/rts5208/rtsx_chip.h b/drivers/staging/rts5208/rtsx_chip.h
index c295b1e..2a6424d 100644
--- a/drivers/staging/rts5208/rtsx_chip.h
+++ b/drivers/staging/rts5208/rtsx_chip.h
@@ -44,8 +44,10 @@
 	#define MG_SET_ICV_SLOW
 	/* HW may miss ERR/CMDNK signal when sampling INT status. */
 	#define MS_SAMPLE_INT_ERR
-	/* HW DO NOT support Wait_INT function during READ_BYTES
-	 * transfer mode */
+	/*
+	 * HW DO NOT support Wait_INT function during READ_BYTES
+	 * transfer mode
+	 */
 	#define READ_BYTES_WAIT_INT
 #endif
 
@@ -102,17 +104,19 @@
 #define TRANSPORT_ERROR		3   /* Transport bad (i.e. device dead) */
 
 
-/*-----------------------------------
-    Start-Stop-Unit
------------------------------------*/
+/* -----------------------------------
+ *   Start-Stop-Unit
+ * -----------------------------------
+ */
 #define STOP_MEDIUM			0x00    /* access disable         */
 #define MAKE_MEDIUM_READY		0x01    /* access enable          */
 #define UNLOAD_MEDIUM			0x02    /* unload                 */
 #define LOAD_MEDIUM			0x03    /* load                   */
 
-/*-----------------------------------
-    STANDARD_INQUIRY
------------------------------------*/
+/* -----------------------------------
+ *   STANDARD_INQUIRY
+ * -----------------------------------
+ */
 #define QULIFIRE                0x00
 #define AENC_FNC                0x00
 #define TRML_IOP                0x00
@@ -130,16 +134,24 @@
 
 /* Dynamic flag definitions: used in set_bit() etc. */
 #define RTSX_FLIDX_TRANS_ACTIVE		18  /* 0x00040000  transfer is active */
-#define RTSX_FLIDX_ABORTING		20  /* 0x00100000 abort is in
-					     * progress */
-#define RTSX_FLIDX_DISCONNECTING	21  /* 0x00200000 disconnect
-					     * in progress */
+#define RTSX_FLIDX_ABORTING		20  /*
+					     * 0x00100000 abort is in
+					     * progress
+					     */
+#define RTSX_FLIDX_DISCONNECTING	21  /*
+					     * 0x00200000 disconnect
+					     * in progress
+					     */
 #define ABORTING_OR_DISCONNECTING	((1UL << US_FLIDX_ABORTING) | \
 					 (1UL << US_FLIDX_DISCONNECTING))
-#define RTSX_FLIDX_RESETTING		22  /* 0x00400000 device reset
-					     * in progress */
-#define RTSX_FLIDX_TIMED_OUT		23  /* 0x00800000 SCSI
-					     * midlayer timed out */
+#define RTSX_FLIDX_RESETTING		22  /*
+					     * 0x00400000 device reset
+					     * in progress
+					     */
+#define RTSX_FLIDX_TIMED_OUT		23  /*
+					     * 0x00800000 SCSI
+					     * midlayer timed out
+					     */
 
 #define DRCT_ACCESS_DEV         0x00    /* Direct Access Device      */
 #define RMB_DISC                0x80    /* The Device is Removable   */
@@ -174,9 +186,10 @@
 #define	FIRST_RESET		0x01
 #define	USED_EXIST		0x02
 
-/*-----------------------------------
-    SENSE_DATA
------------------------------------*/
+/* -----------------------------------
+ *   SENSE_DATA
+ * -----------------------------------
+ */
 /*---- valid ----*/
 #define SENSE_VALID             0x80    /* Sense data is valid as SCSI2     */
 #define SENSE_INVALID           0x00    /* Sense data is invalid as SCSI2   */
@@ -712,9 +725,12 @@ struct rtsx_chip {
 	int			cur_card;
 
 	unsigned long	need_release;		/* need release bit map */
-	unsigned long	need_reset;		/* need reset
-						 * bit map */
-	/* Flag to indicate that this card is just resumed from SS state,
+	unsigned long	need_reset;		/*
+						 * need reset
+						 * bit map
+						 */
+	/*
+	 * Flag to indicate that this card is just resumed from SS state,
 	 * and need released before being resetted
 	 */
 	unsigned long		need_reinit;
@@ -732,8 +748,10 @@ struct rtsx_chip {
 	u8	card_ejected;	/* card ejected bit map */
 	u8	card_wp;	/* card write protected bit map */
 
-	u8	lun_mc;		/* flag to indicate whether to answer
-				 * MediaChange */
+	u8	lun_mc;		/*
+				 * flag to indicate whether to answer
+				 * MediaChange
+				 */
 
 #ifndef LED_AUTO_BLINK
 	int			led_toggle_counter;
-- 
2.5.2


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 3/3] Staging: rts5208: Coding style warnings fix for block comments
  2015-09-21 17:59 [PATCH 3/3] Staging: rts5208: Coding style warnings fix for block comments Punit Vara
@ 2015-09-29  0:25 ` Greg KH
  2015-09-30 19:25   ` punit vara
  0 siblings, 1 reply; 3+ messages in thread
From: Greg KH @ 2015-09-29  0:25 UTC (permalink / raw)
  To: Punit Vara; +Cc: joe, devel, linux-kernel

On Mon, Sep 21, 2015 at 11:29:50PM +0530, Punit Vara wrote:
> This patch is to rtsx_chip.h that fixes up following warning reported
> by checkpatch.pl :
> 
> -Block comments use * on subsequent lines
> -Block comments use a trailing */ on a separate line
> 
> Signed-off-by: Punit Vara <punitvara@gmail.com>
> ---
>  drivers/staging/rts5208/rtsx_chip.h | 66 +++++++++++++++++++++++--------------
>  1 file changed, 42 insertions(+), 24 deletions(-)

Where is patch 1/3 and 2/3?

You have sent me almost 60 different patches, yet you gave me no idea
what order to apply them in at all, what am I supposed to do with all of
them?

Please redo all of your outstanding patches that I have not taken and
resend them in a proper patch series, numbered correctly so that I have
a chance to know what order to apply the.  I've now purged my todo queue
of all of your patches.

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH 3/3] Staging: rts5208: Coding style warnings fix for block comments
  2015-09-29  0:25 ` Greg KH
@ 2015-09-30 19:25   ` punit vara
  0 siblings, 0 replies; 3+ messages in thread
From: punit vara @ 2015-09-30 19:25 UTC (permalink / raw)
  To: Greg KH; +Cc: Joe Perches, devel, linux-kernel

On Tue, Sep 29, 2015 at 5:55 AM, Greg KH <gregkh@linuxfoundation.org> wrote:
> On Mon, Sep 21, 2015 at 11:29:50PM +0530, Punit Vara wrote:
>> This patch is to rtsx_chip.h that fixes up following warning reported
>> by checkpatch.pl :
>>
>> -Block comments use * on subsequent lines
>> -Block comments use a trailing */ on a separate line
>>
>> Signed-off-by: Punit Vara <punitvara@gmail.com>
>> ---
>>  drivers/staging/rts5208/rtsx_chip.h | 66 +++++++++++++++++++++++--------------
>>  1 file changed, 42 insertions(+), 24 deletions(-)
>
> Where is patch 1/3 and 2/3?
>
> You have sent me almost 60 different patches, yet you gave me no idea
> what order to apply them in at all, what am I supposed to do with all of
> them?
>
> Please redo all of your outstanding patches that I have not taken and
> resend them in a proper patch series, numbered correctly so that I have
> a chance to know what order to apply the.  I've now purged my todo queue
> of all of your patches.
>
> thanks,
>
> greg k-h


I will resend you all the patches whichever having block comment
warnings as soon as I get some time.

Thanks !

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-09-30 19:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-21 17:59 [PATCH 3/3] Staging: rts5208: Coding style warnings fix for block comments Punit Vara
2015-09-29  0:25 ` Greg KH
2015-09-30 19:25   ` punit vara

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox