Skip to contentSkip to conversation

staging: rtl8712: change type variables

PATCH In review Payal Kshirsagar 2 participants 3 messages Mar 23, 2019 Staging

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 staging: rtl8712: change type variables

Change the type of variable tempu8 to u8.

---
Changes in v2:
-Making the variable type temu8 of type u8.

 drivers/staging/rtl8712/rtl8712_efuse.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/rtl8712/rtl8712_efuse.c +1 -1
index dde1255..4e2764f 100644
@@ -25,7 +25,7 @@ static int efuse_available_max_size = EFUSE_MAX_SIZE - 3 /*0x1FD*/;
 
 static void efuse_reg_ctrl(struct _adapter *padapter, bool power_on)
 {
-	bool tmpu8 = 0;
+	u8 tmpu8 = 0;
 
 	if (power_on) {
 		/* -----------------e-fuse pwr & clk reg ctrl ---------------
Signature · 1 line
2.7.4
#1 lore raw
Quoted 1 line · Payal Kshirsagar

Change the type of variable tempu8 to u8.

You need to make your patches against Greg's tree, and not against the previous patches that you made. The previous one was not correct, so Greg will just discard it.

julia

Quoted 32 lines

---
Changes in v2:
-Making the variable type temu8 of type u8.

 drivers/staging/rtl8712/rtl8712_efuse.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/rtl8712/rtl8712_efuse.c +1 -2
index dde1255..4e2764f 100644
@@ -25,7 +25,7 @@ static int efuse_available_max_size = EFUSE_MAX_SIZE - 3 /*0x1FD*/;
 
 static void efuse_reg_ctrl(struct _adapter *padapter, bool power_on)
 {
-	bool tmpu8 = 0;
+	u8 tmpu8 = 0;
 
 	if (power_on) {
 		/* -----------------e-fuse pwr & clk reg ctrl ---------------
--

2.7.4

--
You received this message because you are subscribed to the Google Groups "outreachy-kernel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/1553360936-3525-1-git-send-email-payal.s.kshirsagar.98%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

#2 lore raw
Quoted 11 lines · Julia Lawall
Quoted 1 line · Payal Kshirsagar

Change the type of variable tempu8 to u8.

You need to make your patches against Greg's tree, and not against the previous patches that you made. The previous one was not correct, so Greg will just discard it.

Okay.

Thanks,
payal

Quoted 53 lines

julia

Review

Quoted 10 lines

---
Changes in v2:
-Making the variable type temu8 of type u8.

 drivers/staging/rtl8712/rtl8712_efuse.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
(quoted diff) +0 -0

b/drivers/staging/rtl8712/rtl8712_efuse.c

drivers/staging/rtl8712/rtl8712_efuse.c static int efuse_available_max_size = EFUSE_MAX_SIZE -

Quoted 4 lines

index dde1255..4e2764f 100644

drivers/staging/rtl8712/rtl8712_efuse.c +0 -0
@@ -25,7 +25,7 @@ static int efuse_available_max_size = EFUSE_MAX_SIZE -

3 /*0x1FD*/;

drivers/staging/rtl8712/rtl8712_efuse.c static int efuse_available_max_size = EFUSE_MAX_SIZE - 3 /*0x1FD*/;

Quoted 8 lines
drivers/staging/rtl8712/rtl8712_efuse.c +1 -1
 static void efuse_reg_ctrl(struct _adapter *padapter, bool power_on)
 {
-     bool tmpu8 = 0;
+     u8 tmpu8 = 0;
 
      if (power_on) {
              /* -----------------e-fuse pwr & clk reg ctrl

---------------

Quoted 5 lines
drivers/staging/rtl8712/rtl8712_efuse.c +0 -1
--

2.7.4

--
You received this message because you are subscribed to the Google

Groups "outreachy-kernel" group.

Quoted 1 line

To unsubscribe from this group and stop receiving emails from it, send

an email to [email protected].

Quoted 2 lines

To post to this group, send email to [email protected]. To view this discussion on the web visit

https://groups.google.com/d/msgid/outreachy-kernel/1553360936-3525-1-git-send-email-payal.s.kshirsagar.98%40gmail.com
.

Quoted 2 lines

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "outreachy-kernel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected]. To view this discussion on the web visit
https://groups.google.com/d/msgid/outreachy-kernel/alpine.DEB.2.21.1903231813540.5660%40hadrien
.
For more options, visit https://groups.google.com/d/optout.