video: driver: fix No space is necessary after a cast err
Fix this warning in checker. Change-Id: I2f90b2f8b3fddb55a3b1dd9b0e4ca227e46ed42f Signed-off-by: Ankush Mitra <quic_ankumitr@quicinc.com>
This commit is contained in:
@@ -390,7 +390,7 @@ int msm_vidc_set_clocks(struct msm_vidc_inst *inst)
|
||||
if (i > 0)
|
||||
rate = core->resource->freq_set.freq_tbl[i - 1].freq;
|
||||
} else if (decrement) {
|
||||
if (i < (int) (core->platform->data.freq_tbl_size - 1))
|
||||
if (i < (int)(core->platform->data.freq_tbl_size - 1))
|
||||
rate = core->resource->freq_set.freq_tbl[i + 1].freq;
|
||||
}
|
||||
core->power.clk_freq = (u32)rate;
|
||||
|
@@ -133,7 +133,7 @@ static void __flush_debug_queue(struct msm_vidc_core *core,
|
||||
}
|
||||
|
||||
while (!venus_hfi_queue_dbg_read(core, packet)) {
|
||||
pkt = (struct hfi_debug_header *) packet;
|
||||
pkt = (struct hfi_debug_header *)packet;
|
||||
|
||||
if (pkt->size < sizeof(struct hfi_debug_header)) {
|
||||
d_vpr_e("%s: invalid pkt size %d\n",
|
||||
|
@@ -72,7 +72,7 @@ static int __write_queue(struct msm_vidc_iface_q_info *qinfo, u8 *packet,
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
queue = (struct hfi_queue_header *) qinfo->q_hdr;
|
||||
queue = (struct hfi_queue_header *)qinfo->q_hdr;
|
||||
if (!queue) {
|
||||
d_vpr_e("queue not present\n");
|
||||
return -ENOENT;
|
||||
@@ -168,7 +168,7 @@ static int __read_queue(struct msm_vidc_iface_q_info *qinfo, u8 *packet,
|
||||
*reading it
|
||||
*/
|
||||
mb();
|
||||
queue = (struct hfi_queue_header *) qinfo->q_hdr;
|
||||
queue = (struct hfi_queue_header *)qinfo->q_hdr;
|
||||
|
||||
if (!queue) {
|
||||
d_vpr_e("Queue memory is not allocated\n");
|
||||
|
Fai riferimento in un nuovo problema
Block a user