diff options
author | Jasmin Jessich <jasmin@anw.at> | 2017-07-15 20:43:11 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-07-20 15:35:03 -0400 |
commit | 224457a991c12d27eb9e893f4c4d40bf533466c1 (patch) | |
tree | 4f684d2056940bab7c8bc439a1a40a40243a28da /drivers/media/dvb-core/dvb_ca_en50221.c | |
parent | 5567d09d2a2d154f4a946304d6d73d4e49080046 (diff) | |
download | linux-stable-224457a991c12d27eb9e893f4c4d40bf533466c1.tar.gz linux-stable-224457a991c12d27eb9e893f4c4d40bf533466c1.tar.bz2 linux-stable-224457a991c12d27eb9e893f4c4d40bf533466c1.zip |
media: dvb_ca_en50221: Fixed C++ comments
- Changed all C++ style comments ("// ..") to C style ones ("/* .. */").
Signed-off-by: Jasmin Jessich <jasmin@anw.at>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/dvb-core/dvb_ca_en50221.c')
-rw-r--r-- | drivers/media/dvb-core/dvb_ca_en50221.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/drivers/media/dvb-core/dvb_ca_en50221.c b/drivers/media/dvb-core/dvb_ca_en50221.c index 6547f6eb8cf4..99cf460b8448 100644 --- a/drivers/media/dvb-core/dvb_ca_en50221.c +++ b/drivers/media/dvb-core/dvb_ca_en50221.c @@ -263,7 +263,7 @@ static int dvb_ca_en50221_check_camstatus(struct dvb_ca_private *ca, int slot) } else { if ((sl->slot_state == DVB_CA_SLOTSTATE_WAITREADY) && (slot_status & DVB_CA_EN50221_POLL_CAM_READY)) { - // move to validate state if reset is completed + /* move to validate state if reset is completed */ sl->slot_state = DVB_CA_SLOTSTATE_VALIDATE; } } @@ -442,7 +442,7 @@ static int dvb_ca_en50221_read_tuple(struct dvb_ca_private *ca, int slot, } _address += (_tuple_length * 2); - // success + /* success */ *tuple_type = _tuple_type; *tuple_length = _tuple_length; *address = _address; @@ -476,7 +476,7 @@ static int dvb_ca_en50221_parse_attributes(struct dvb_ca_private *ca, int slot) u16 devid = 0; - // CISTPL_DEVICE_0A + /* CISTPL_DEVICE_0A */ status = dvb_ca_en50221_read_tuple(ca, slot, &address, &tuple_type, &tuple_length, tuple); if (status < 0) @@ -486,7 +486,7 @@ static int dvb_ca_en50221_parse_attributes(struct dvb_ca_private *ca, int slot) - // CISTPL_DEVICE_0C + /* CISTPL_DEVICE_0C */ status = dvb_ca_en50221_read_tuple(ca, slot, &address, &tuple_type, &tuple_length, tuple); if (status < 0) @@ -496,7 +496,7 @@ static int dvb_ca_en50221_parse_attributes(struct dvb_ca_private *ca, int slot) - // CISTPL_VERS_1 + /* CISTPL_VERS_1 */ status = dvb_ca_en50221_read_tuple(ca, slot, &address, &tuple_type, &tuple_length, tuple); if (status < 0) @@ -506,7 +506,7 @@ static int dvb_ca_en50221_parse_attributes(struct dvb_ca_private *ca, int slot) - // CISTPL_MANFID + /* CISTPL_MANFID */ status = dvb_ca_en50221_read_tuple(ca, slot, &address, &tuple_type, &tuple_length, tuple); if (status < 0) @@ -520,7 +520,7 @@ static int dvb_ca_en50221_parse_attributes(struct dvb_ca_private *ca, int slot) - // CISTPL_CONFIG + /* CISTPL_CONFIG */ status = dvb_ca_en50221_read_tuple(ca, slot, &address, &tuple_type, &tuple_length, tuple); if (status < 0) @@ -562,7 +562,7 @@ static int dvb_ca_en50221_parse_attributes(struct dvb_ca_private *ca, int slot) if (status < 0) return status; switch (tuple_type) { - case 0x1B: // CISTPL_CFTABLE_ENTRY + case 0x1B: /* CISTPL_CFTABLE_ENTRY */ if (tuple_length < (2 + 11 + 17)) break; @@ -583,10 +583,10 @@ static int dvb_ca_en50221_parse_attributes(struct dvb_ca_private *ca, int slot) got_cftableentry = 1; break; - case 0x14: // CISTPL_NO_LINK + case 0x14: /* CISTPL_NO_LINK */ break; - case 0xFF: // CISTPL_END + case 0xFF: /* CISTPL_END */ end_chain = 1; break; @@ -603,7 +603,7 @@ static int dvb_ca_en50221_parse_attributes(struct dvb_ca_private *ca, int slot) dprintk("Valid DVB CAM detected MANID:%x DEVID:%x CONFIGBASE:0x%x CONFIGOPTION:0x%x\n", manfid, devid, sl->config_base, sl->config_option); - // success! + /* success! */ return 0; } |