We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3279032 commit 3080122Copy full SHA for 3080122
drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_vid.c
@@ -239,7 +239,7 @@ static void dpu_encoder_phys_vid_setup_timing_engine(
239
struct dpu_hw_intf_cfg intf_cfg = { 0 };
240
241
if (!phys_enc->hw_ctl->ops.setup_intf_cfg) {
242
- DPU_ERROR("invalid encoder %d\n", phys_enc != 0);
+ DPU_ERROR("invalid encoder %d\n", phys_enc != NULL);
243
return;
244
}
245
@@ -559,7 +559,7 @@ static void dpu_encoder_phys_vid_disable(struct dpu_encoder_phys *phys_enc)
559
560
if (!phys_enc->hw_intf) {
561
DPU_ERROR("invalid hw_intf %d hw_ctl %d\n",
562
- phys_enc->hw_intf != 0, phys_enc->hw_ctl != 0);
+ phys_enc->hw_intf != NULL, phys_enc->hw_ctl != NULL);
563
564
565
0 commit comments