CC: [email protected]
CC: [email protected]
In-Reply-To: <[email protected]>
References: <[email protected]>
TO: Pratyush Yadav <[email protected]>

Hi Pratyush,

I love your patch! Perhaps something to improve:

[auto build test WARNING on media-tree/master]
[also build test WARNING on robh/for-next linus/master v5.17-rc1 next-20220128]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url:    
https://github.com/0day-ci/linux/commits/Pratyush-Yadav/CSI2RX-support-on-J721E/20220121-223208
base:   git://linuxtv.org/media_tree.git master
:::::: branch date: 8 days ago
:::::: commit date: 8 days ago
config: riscv-randconfig-c006-20220125 
(https://download.01.org/0day-ci/archive/20220129/[email protected]/config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 
f32dccb9a43b02ce4e540d6ba5dbbdb188f2dc7d)
reproduce (this is a W=1 build):
        wget 
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O 
~/bin/make.cross
        chmod +x ~/bin/make.cross
        # install riscv cross compiling tool for clang build
        # apt-get install binutils-riscv64-linux-gnu
        # 
https://github.com/0day-ci/linux/commit/3e49ebcb767893f74b04baf777762343d75d36b4
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review 
Pratyush-Yadav/CSI2RX-support-on-J721E/20220121-223208
        git checkout 3e49ebcb767893f74b04baf777762343d75d36b4
        # save the config file to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=riscv 
clang-analyzer 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <[email protected]>


clang-analyzer warnings: (new ones prefixed by >>)
   Suppressed 3 warnings (3 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use 
-system-headers to display errors from system headers as well.
   4 warnings generated.
   drivers/media/dvb-frontends/bcm3510.c:818:7: warning: Although the value 
stored to 'ret' is used in the enclosing expression, the value is never 
actually read from 'ret' [clang-analyzer-deadcode.DeadStores]
           if ((ret = bcm3510_readB(state,0xe0,&v)) < 0)
                ^     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/media/dvb-frontends/bcm3510.c:818:7: note: Although the value stored 
to 'ret' is used in the enclosing expression, the value is never actually read 
from 'ret'
           if ((ret = bcm3510_readB(state,0xe0,&v)) < 0)
                ^     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   Suppressed 3 warnings (3 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use 
-system-headers to display errors from system headers as well.
   3 warnings generated.
   Suppressed 3 warnings (3 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use 
-system-headers to display errors from system headers as well.
   3 warnings generated.
   Suppressed 3 warnings (3 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use 
-system-headers to display errors from system headers as well.
   4 warnings generated.
   drivers/media/dvb-frontends/cx24123.c:518:2: warning: Value stored to 
'vco_div' is never read [clang-analyzer-deadcode.DeadStores]
           vco_div = cx24123_bandselect_vals[0].VCOdivider;
           ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/media/dvb-frontends/cx24123.c:518:2: note: Value stored to 'vco_div' 
is never read
           vco_div = cx24123_bandselect_vals[0].VCOdivider;
           ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   Suppressed 3 warnings (3 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use 
-system-headers to display errors from system headers as well.
   3 warnings generated.
   Suppressed 3 warnings (3 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use 
-system-headers to display errors from system headers as well.
   2 warnings generated.
   Suppressed 2 warnings (2 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use 
-system-headers to display errors from system headers as well.
   3 warnings generated.
   Suppressed 3 warnings (3 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use 
-system-headers to display errors from system headers as well.
   2 warnings generated.
   Suppressed 2 warnings (2 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use 
-system-headers to display errors from system headers as well.
   2 warnings generated.
   Suppressed 2 warnings (2 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use 
-system-headers to display errors from system headers as well.
   9 warnings generated.
   drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c:73:2: warning: Value stored to 
'temp' is never read [clang-analyzer-deadcode.DeadStores]
           temp = RREG32(rec->mask_clk_reg);
           ^
   drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c:73:2: note: Value stored to 'temp' 
is never read
   drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c:77:2: warning: Value stored to 
'temp' is never read [clang-analyzer-deadcode.DeadStores]
           temp = RREG32(rec->mask_data_reg);
           ^
   drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c:77:2: note: Value stored to 'temp' 
is never read
   drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c:92:2: warning: Value stored to 
'temp' is never read [clang-analyzer-deadcode.DeadStores]
           temp = RREG32(rec->mask_clk_reg);
           ^
   drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c:92:2: note: Value stored to 'temp' 
is never read
   drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c:96:2: warning: Value stored to 
'temp' is never read [clang-analyzer-deadcode.DeadStores]
           temp = RREG32(rec->mask_data_reg);
           ^
   drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c:96:2: note: Value stored to 'temp' 
is never read
   drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c:312:3: warning: 4th function call 
argument is an uninitialized value [clang-analyzer-core.CallAndMessage]
                   DRM_DEBUG("i2c 0x%02x 0x%02x read failed\n",
                   ^
   include/drm/drm_print.h:526:2: note: expanded from macro 'DRM_DEBUG'
           __drm_dbg(DRM_UT_CORE, fmt, ##__VA_ARGS__)
           ^
   drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c:371:2: note: 'val' declared without 
an initial value
           u8 val;
           ^~~~~~
   drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c:373:6: note: Assuming field 
'cd_valid' is true
           if (!amdgpu_connector->router.cd_valid)
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c:373:2: note: Taking false branch
           if (!amdgpu_connector->router.cd_valid)
           ^
   drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c:376:6: note: Assuming field 
'router_bus' is non-null
           if (!amdgpu_connector->router_bus)
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c:376:2: note: Taking false branch
           if (!amdgpu_connector->router_bus)
           ^
   drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c:379:2: note: Calling 
'amdgpu_i2c_get_byte'
           amdgpu_i2c_get_byte(amdgpu_connector->router_bus,
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c:308:6: note: Assuming the condition 
is false
           if (i2c_transfer(&i2c_bus->adapter, msgs, 2) == 2) {
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c:308:2: note: Taking false branch
           if (i2c_transfer(&i2c_bus->adapter, msgs, 2) == 2) {
           ^
   drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c:312:3: note: 4th function call 
argument is an uninitialized value
                   DRM_DEBUG("i2c 0x%02x 0x%02x read failed\n",
                   ^
   include/drm/drm_print.h:526:2: note: expanded from macro 'DRM_DEBUG'
           __drm_dbg(DRM_UT_CORE, fmt, ##__VA_ARGS__)
           ^                             ~~~~~~~~~~~
   Suppressed 4 warnings (4 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use 
-system-headers to display errors from system headers as well.
   3 warnings generated.
   Suppressed 3 warnings (3 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use 
-system-headers to display errors from system headers as well.
   4 warnings generated.
>> drivers/media/platform/ti/cal/cal-video.c:213:2: warning: Value stored to 
>> 'ret' is never read [clang-analyzer-deadcode.DeadStores]
           ret = 0;
           ^     ~
   drivers/media/platform/ti/cal/cal-video.c:213:2: note: Value stored to 'ret' 
is never read
           ret = 0;
           ^     ~
   Suppressed 3 warnings (3 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use 
-system-headers to display errors from system headers as well.
   5 warnings generated.
   drivers/media/platform/ti/vpe/vpe.c:2589:2: warning: Value stored to 'func' 
is never read [clang-analyzer-deadcode.DeadStores]
           func = read_field_reg(dev, VPE_PID, VPE_PID_FUNC_MASK,
           ^      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/media/platform/ti/vpe/vpe.c:2589:2: note: Value stored to 'func' is 
never read
           func = read_field_reg(dev, VPE_PID, VPE_PID_FUNC_MASK,
           ^      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/linux/log2.h:57:13: warning: The result of the left shift is 
undefined due to shifting by '32', which is greater or equal to the width of 
type 'unsigned long' [clang-analyzer-core.UndefinedBinaryOperatorResult]
           return 1UL << fls_long(n - 1);
                      ^
   drivers/media/platform/ti/vpe/vpe.c:1788:8: note: Calling 'vpe_try_fmt'
           ret = vpe_try_fmt(file, priv, f);
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/media/platform/ti/vpe/vpe.c:1725:6: note: Assuming field 'type' is 
not equal to V4L2_BUF_TYPE_VIDEO_OUTPUT
           if (V4L2_TYPE_IS_OUTPUT(f->type))
               ^
   include/uapi/linux/videodev2.h:165:3: note: expanded from macro 
'V4L2_TYPE_IS_OUTPUT'
           ((type) == V4L2_BUF_TYPE_VIDEO_OUTPUT                   \
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/media/platform/ti/vpe/vpe.c:1725:6: note: Left side of '||' is false
           if (V4L2_TYPE_IS_OUTPUT(f->type))
               ^
   include/uapi/linux/videodev2.h:165:3: note: expanded from macro 
'V4L2_TYPE_IS_OUTPUT'
           ((type) == V4L2_BUF_TYPE_VIDEO_OUTPUT                   \
            ^
   drivers/media/platform/ti/vpe/vpe.c:1725:6: note: Assuming field 'type' is 
not equal to V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE
           if (V4L2_TYPE_IS_OUTPUT(f->type))
               ^
   include/uapi/linux/videodev2.h:166:6: note: expanded from macro 
'V4L2_TYPE_IS_OUTPUT'
            || (type) == V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE         \
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/media/platform/ti/vpe/vpe.c:1725:6: note: Left side of '||' is false
           if (V4L2_TYPE_IS_OUTPUT(f->type))
               ^
   include/uapi/linux/videodev2.h:165:3: note: expanded from macro 
'V4L2_TYPE_IS_OUTPUT'
           ((type) == V4L2_BUF_TYPE_VIDEO_OUTPUT                   \
            ^
   drivers/media/platform/ti/vpe/vpe.c:1725:6: note: Assuming field 'type' is 
not equal to V4L2_BUF_TYPE_VIDEO_OVERLAY
           if (V4L2_TYPE_IS_OUTPUT(f->type))
               ^
   include/uapi/linux/videodev2.h:167:6: note: expanded from macro 
'V4L2_TYPE_IS_OUTPUT'
            || (type) == V4L2_BUF_TYPE_VIDEO_OVERLAY               \
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/media/platform/ti/vpe/vpe.c:1725:6: note: Left side of '||' is false
           if (V4L2_TYPE_IS_OUTPUT(f->type))
               ^
   include/uapi/linux/videodev2.h:165:3: note: expanded from macro 
'V4L2_TYPE_IS_OUTPUT'
           ((type) == V4L2_BUF_TYPE_VIDEO_OUTPUT                   \
            ^
   drivers/media/platform/ti/vpe/vpe.c:1725:6: note: Assuming field 'type' is 
not equal to V4L2_BUF_TYPE_VIDEO_OUTPUT_OVERLAY
           if (V4L2_TYPE_IS_OUTPUT(f->type))
               ^
   include/uapi/linux/videodev2.h:168:6: note: expanded from macro 
'V4L2_TYPE_IS_OUTPUT'
            || (type) == V4L2_BUF_TYPE_VIDEO_OUTPUT_OVERLAY        \
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/media/platform/ti/vpe/vpe.c:1725:6: note: Left side of '||' is false
           if (V4L2_TYPE_IS_OUTPUT(f->type))
               ^
   include/uapi/linux/videodev2.h:165:3: note: expanded from macro 
'V4L2_TYPE_IS_OUTPUT'
           ((type) == V4L2_BUF_TYPE_VIDEO_OUTPUT                   \
            ^
   drivers/media/platform/ti/vpe/vpe.c:1725:6: note: Assuming field 'type' is 
not equal to V4L2_BUF_TYPE_VBI_OUTPUT
           if (V4L2_TYPE_IS_OUTPUT(f->type))
               ^
   include/uapi/linux/videodev2.h:169:6: note: expanded from macro 
'V4L2_TYPE_IS_OUTPUT'
            || (type) == V4L2_BUF_TYPE_VBI_OUTPUT                  \
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/media/platform/ti/vpe/vpe.c:1725:6: note: Left side of '||' is false
           if (V4L2_TYPE_IS_OUTPUT(f->type))
               ^
   include/uapi/linux/videodev2.h:165:3: note: expanded from macro 
'V4L2_TYPE_IS_OUTPUT'
           ((type) == V4L2_BUF_TYPE_VIDEO_OUTPUT                   \
            ^
   drivers/media/platform/ti/vpe/vpe.c:1725:6: note: Assuming field 'type' is 
not equal to V4L2_BUF_TYPE_SLICED_VBI_OUTPUT
           if (V4L2_TYPE_IS_OUTPUT(f->type))
               ^
   include/uapi/linux/videodev2.h:170:6: note: expanded from macro 
'V4L2_TYPE_IS_OUTPUT'
            || (type) == V4L2_BUF_TYPE_SLICED_VBI_OUTPUT           \
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/media/platform/ti/vpe/vpe.c:1725:6: note: Left side of '||' is false
           if (V4L2_TYPE_IS_OUTPUT(f->type))
               ^
   include/uapi/linux/videodev2.h:165:3: note: expanded from macro 
'V4L2_TYPE_IS_OUTPUT'
           ((type) == V4L2_BUF_TYPE_VIDEO_OUTPUT                   \
            ^
   drivers/media/platform/ti/vpe/vpe.c:1725:6: note: Assuming field 'type' is 
not equal to V4L2_BUF_TYPE_SDR_OUTPUT
           if (V4L2_TYPE_IS_OUTPUT(f->type))
               ^
   include/uapi/linux/videodev2.h:171:6: note: expanded from macro 
'V4L2_TYPE_IS_OUTPUT'
            || (type) == V4L2_BUF_TYPE_SDR_OUTPUT                  \
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/media/platform/ti/vpe/vpe.c:1725:6: note: Left side of '||' is false
           if (V4L2_TYPE_IS_OUTPUT(f->type))

vim +/ret +213 drivers/media/platform/ti/cal/cal-video.c

9d551891473e35 drivers/media/platform/ti-vpe/cal-video.c Laurent Pinchart 
2020-07-06  191  
e6a800d63a1239 drivers/media/platform/ti-vpe/cal-video.c Tomi Valkeinen   
2021-06-14  192  static int cal_legacy_try_fmt_vid_cap(struct file *file, void 
*priv,
9d551891473e35 drivers/media/platform/ti-vpe/cal-video.c Laurent Pinchart 
2020-07-06  193                                     struct v4l2_format *f)
9d551891473e35 drivers/media/platform/ti-vpe/cal-video.c Laurent Pinchart 
2020-07-06  194  {
9d551891473e35 drivers/media/platform/ti-vpe/cal-video.c Laurent Pinchart 
2020-07-06  195       struct cal_ctx *ctx = video_drvdata(file);
51e8c97df58fcf drivers/media/platform/ti-vpe/cal-video.c Laurent Pinchart 
2020-12-07  196       const struct cal_format_info *fmtinfo;
9d551891473e35 drivers/media/platform/ti-vpe/cal-video.c Laurent Pinchart 
2020-07-06  197       struct v4l2_subdev_frame_size_enum fse;
9d551891473e35 drivers/media/platform/ti-vpe/cal-video.c Laurent Pinchart 
2020-07-06  198       int ret, found;
9d551891473e35 drivers/media/platform/ti-vpe/cal-video.c Laurent Pinchart 
2020-07-06  199  
51e8c97df58fcf drivers/media/platform/ti-vpe/cal-video.c Laurent Pinchart 
2020-12-07  200       fmtinfo = find_format_by_pix(ctx, f->fmt.pix.pixelformat);
51e8c97df58fcf drivers/media/platform/ti-vpe/cal-video.c Laurent Pinchart 
2020-12-07  201       if (!fmtinfo) {
9d551891473e35 drivers/media/platform/ti-vpe/cal-video.c Laurent Pinchart 
2020-07-06  202               ctx_dbg(3, ctx, "Fourcc format (0x%08x) not 
found.\n",
9d551891473e35 drivers/media/platform/ti-vpe/cal-video.c Laurent Pinchart 
2020-07-06  203                       f->fmt.pix.pixelformat);
9d551891473e35 drivers/media/platform/ti-vpe/cal-video.c Laurent Pinchart 
2020-07-06  204  
9d551891473e35 drivers/media/platform/ti-vpe/cal-video.c Laurent Pinchart 
2020-07-06  205               /* Just get the first one enumerated */
51e8c97df58fcf drivers/media/platform/ti-vpe/cal-video.c Laurent Pinchart 
2020-12-07  206               fmtinfo = ctx->active_fmt[0];
51e8c97df58fcf drivers/media/platform/ti-vpe/cal-video.c Laurent Pinchart 
2020-12-07  207               f->fmt.pix.pixelformat = fmtinfo->fourcc;
9d551891473e35 drivers/media/platform/ti-vpe/cal-video.c Laurent Pinchart 
2020-07-06  208       }
9d551891473e35 drivers/media/platform/ti-vpe/cal-video.c Laurent Pinchart 
2020-07-06  209  
9d551891473e35 drivers/media/platform/ti-vpe/cal-video.c Laurent Pinchart 
2020-07-06  210       f->fmt.pix.field = ctx->v_fmt.fmt.pix.field;
9d551891473e35 drivers/media/platform/ti-vpe/cal-video.c Laurent Pinchart 
2020-07-06  211  
9d551891473e35 drivers/media/platform/ti-vpe/cal-video.c Laurent Pinchart 
2020-07-06  212       /* check for/find a valid width/height */
9d551891473e35 drivers/media/platform/ti-vpe/cal-video.c Laurent Pinchart 
2020-07-06 @213       ret = 0;
9d551891473e35 drivers/media/platform/ti-vpe/cal-video.c Laurent Pinchart 
2020-07-06  214       found = false;
9d551891473e35 drivers/media/platform/ti-vpe/cal-video.c Laurent Pinchart 
2020-07-06  215       fse.pad = 0;
51e8c97df58fcf drivers/media/platform/ti-vpe/cal-video.c Laurent Pinchart 
2020-12-07  216       fse.code = fmtinfo->code;
9d551891473e35 drivers/media/platform/ti-vpe/cal-video.c Laurent Pinchart 
2020-07-06  217       fse.which = V4L2_SUBDEV_FORMAT_ACTIVE;
9d551891473e35 drivers/media/platform/ti-vpe/cal-video.c Laurent Pinchart 
2020-07-06  218       for (fse.index = 0; ; fse.index++) {
27f86b9bff79e1 drivers/media/platform/ti-vpe/cal-video.c Tomi Valkeinen   
2021-06-14  219               ret = v4l2_subdev_call(ctx->phy->source, pad, 
enum_frame_size,
9d551891473e35 drivers/media/platform/ti-vpe/cal-video.c Laurent Pinchart 
2020-07-06  220                                      NULL, &fse);
9d551891473e35 drivers/media/platform/ti-vpe/cal-video.c Laurent Pinchart 
2020-07-06  221               if (ret)
9d551891473e35 drivers/media/platform/ti-vpe/cal-video.c Laurent Pinchart 
2020-07-06  222                       break;
9d551891473e35 drivers/media/platform/ti-vpe/cal-video.c Laurent Pinchart 
2020-07-06  223  
9d551891473e35 drivers/media/platform/ti-vpe/cal-video.c Laurent Pinchart 
2020-07-06  224               if ((f->fmt.pix.width == fse.max_width) &&
9d551891473e35 drivers/media/platform/ti-vpe/cal-video.c Laurent Pinchart 
2020-07-06  225                   (f->fmt.pix.height == fse.max_height)) {
9d551891473e35 drivers/media/platform/ti-vpe/cal-video.c Laurent Pinchart 
2020-07-06  226                       found = true;
9d551891473e35 drivers/media/platform/ti-vpe/cal-video.c Laurent Pinchart 
2020-07-06  227                       break;
9d551891473e35 drivers/media/platform/ti-vpe/cal-video.c Laurent Pinchart 
2020-07-06  228               } else if ((f->fmt.pix.width >= fse.min_width) &&
9d551891473e35 drivers/media/platform/ti-vpe/cal-video.c Laurent Pinchart 
2020-07-06  229                        (f->fmt.pix.width <= fse.max_width) &&
9d551891473e35 drivers/media/platform/ti-vpe/cal-video.c Laurent Pinchart 
2020-07-06  230                        (f->fmt.pix.height >= fse.min_height) &&
9d551891473e35 drivers/media/platform/ti-vpe/cal-video.c Laurent Pinchart 
2020-07-06  231                        (f->fmt.pix.height <= fse.max_height)) {
9d551891473e35 drivers/media/platform/ti-vpe/cal-video.c Laurent Pinchart 
2020-07-06  232                       found = true;
9d551891473e35 drivers/media/platform/ti-vpe/cal-video.c Laurent Pinchart 
2020-07-06  233                       break;
9d551891473e35 drivers/media/platform/ti-vpe/cal-video.c Laurent Pinchart 
2020-07-06  234               }
9d551891473e35 drivers/media/platform/ti-vpe/cal-video.c Laurent Pinchart 
2020-07-06  235       }
9d551891473e35 drivers/media/platform/ti-vpe/cal-video.c Laurent Pinchart 
2020-07-06  236  
9d551891473e35 drivers/media/platform/ti-vpe/cal-video.c Laurent Pinchart 
2020-07-06  237       if (!found) {
9d551891473e35 drivers/media/platform/ti-vpe/cal-video.c Laurent Pinchart 
2020-07-06  238               /* use existing values as default */
9d551891473e35 drivers/media/platform/ti-vpe/cal-video.c Laurent Pinchart 
2020-07-06  239               f->fmt.pix.width = ctx->v_fmt.fmt.pix.width;
9d551891473e35 drivers/media/platform/ti-vpe/cal-video.c Laurent Pinchart 
2020-07-06  240               f->fmt.pix.height =  ctx->v_fmt.fmt.pix.height;
9d551891473e35 drivers/media/platform/ti-vpe/cal-video.c Laurent Pinchart 
2020-07-06  241       }
9d551891473e35 drivers/media/platform/ti-vpe/cal-video.c Laurent Pinchart 
2020-07-06  242  
9d551891473e35 drivers/media/platform/ti-vpe/cal-video.c Laurent Pinchart 
2020-07-06  243       /*
9d551891473e35 drivers/media/platform/ti-vpe/cal-video.c Laurent Pinchart 
2020-07-06  244        * Use current colorspace for now, it will get
9d551891473e35 drivers/media/platform/ti-vpe/cal-video.c Laurent Pinchart 
2020-07-06  245        * updated properly during s_fmt
9d551891473e35 drivers/media/platform/ti-vpe/cal-video.c Laurent Pinchart 
2020-07-06  246        */
9d551891473e35 drivers/media/platform/ti-vpe/cal-video.c Laurent Pinchart 
2020-07-06  247       f->fmt.pix.colorspace = ctx->v_fmt.fmt.pix.colorspace;
455466400c4164 drivers/media/platform/ti-vpe/cal-video.c Laurent Pinchart 
2020-12-07  248       cal_calc_format_size(ctx, fmtinfo, f);
455466400c4164 drivers/media/platform/ti-vpe/cal-video.c Laurent Pinchart 
2020-12-07  249       return 0;
9d551891473e35 drivers/media/platform/ti-vpe/cal-video.c Laurent Pinchart 
2020-07-06  250  }
9d551891473e35 drivers/media/platform/ti-vpe/cal-video.c Laurent Pinchart 
2020-07-06  251  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/[email protected]
_______________________________________________
kbuild mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to