Skip to contentSkip to conversation

Staging: sm750fb: ddk750_sii164.c: Place braces on previous lines

PATCH Sudip Mukherjee 2 participants 3 messages Jun 20, 2015 – Jun 23, 2015 2 messages not in the archive Framebuffer layer

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw
Quoted 14 lines · Isaac Assegai

Place braces on previous lines in ddk750_sii164.c to rectify the following checkpatch errors:
ERROR: that open brace { should be on the previous line

---
 drivers/staging/sm750fb/ddk750_sii164.c | 16 +++++-----------
 1 file changed, 5 insertions(+), 11 deletions(-)
drivers/staging/sm750fb/ddk750_sii164.c +0 -0
index 7f58fbe..64d4291 100644

drivers/staging/sm750fb/ddk750_sii164.c long sii164InitChip( · line 139

Quoted 6 lines
drivers/staging/sm750fb/ddk750_sii164.c +1 -2
@@ -136,8 +136,7 @@ long sii164InitChip(
 #endif
 
 	/* Check if SII164 Chip exists */
-	if ((sii164GetVendorID() == SII164_VENDOR_ID) && (sii164GetDeviceID() == SII164_DEVICE_ID))
-	{
+	if ((sii164GetVendorID() == SII164_VENDOR_ID) && (sii164GetDeviceID() == SII164_DEVICE_ID) {
												^^^^

you have not build tested it :(
In function ‘sii164InitChip’:
error: expected ‘)’ before ‘{’ token

regards
sudip
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in Please read the FAQ at http://www.tux.org/lkml/

#3 lore raw
Quoted 17 lines · Sudip Mukherjee
Quoted 16 lines · Isaac Assegai

Place braces on previous lines in ddk750_sii164.c to rectify the following checkpatch errors:
ERROR: that open brace { should be on the previous line

---
 drivers/staging/sm750fb/ddk750_sii164.c | 16 +++++-----------
 1 file changed, 5 insertions(+), 11 deletions(-)
drivers/staging/sm750fb/ddk750_sii164.c +0 -0
index 7f58fbe..64d4291 100644
@@ -136,8 +136,7 @@ long sii164InitChip(
 #endif
 
Quoted 9 lines

drivers/staging/sm750fb/ddk750_sii164.c long sii164InitChip( · line 139

Quoted 4 lines
drivers/staging/sm750fb/ddk750_sii164.c +1 -2
 	/* Check if SII164 Chip exists */
-	if ((sii164GetVendorID() = SII164_VENDOR_ID) && (sii164GetDeviceID() = SII164_DEVICE_ID))
-	{
+	if ((sii164GetVendorID() = SII164_VENDOR_ID) && (sii164GetDeviceID() = SII164_DEVICE_ID) {
												^^^^

you have not build tested it :(
In function ‘sii164InitChip’:
error: expected ‘)’ before ‘{’ token

I never get Isaac's emails. I think gmail is still sending them to the Spam folder? I searched my spam folder and don't see them though...

regards,
dan carpenter

#4 lore raw
Quoted 5 lines · Dan Carpenter
Quoted 1 line · Sudip Mukherjee

On Fri, Jun 19, 2015 at 12:48:19PM -0700, Isaac Assegai wrote:

I never get Isaac's emails. I think gmail is still sending them to the Spam folder? I searched my spam folder and don't see them though...

maybe you need to create filters. I have filters and sometimes for some mails I will get "this was not sent to spam because of a filter you created"

regards
sudip