CC: [email protected]
CC: [email protected]
BCC: [email protected]
CC: [email protected]
TO: Mauro Carvalho Chehab <[email protected]>
CC: [email protected]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   d569e86915b7f2f9795588591c8d5ea0b66481cb
commit: 3bae07d4b44cf10bbffc6270e00816dda57e6e70 media: platform: rename 
exynos-gsc/ to samsung/exynos-gsc/
date:   5 weeks ago
:::::: branch date: 11 hours ago
:::::: commit date: 5 weeks ago
config: riscv-randconfig-c006-20220421 
(https://download.01.org/0day-ci/archive/20220422/[email protected]/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 
5bd87350a5ae429baf8f373cb226a57b62f87280)
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://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=3bae07d4b44cf10bbffc6270e00816dda57e6e70
        git remote add linus 
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 3bae07d4b44cf10bbffc6270e00816dda57e6e70
        # save the config file
        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 >>)
           ^
   include/media/v4l2-common.h:72:2: note: expanded from macro 'v4l2_dbg'
           do {                                                            \
           ^
   drivers/media/i2c/ov9650.c:912:8: note: Calling '__g_volatile_ctrl'
           ret = __g_volatile_ctrl(ov965x, ctrl);
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/media/i2c/ov9650.c:863:6: note: Assuming field 'power' is not equal 
to 0
           if (!ov965x->power)
               ^~~~~~~~~~~~~~
   drivers/media/i2c/ov9650.c:863:2: note: Taking false branch
           if (!ov965x->power)
           ^
   drivers/media/i2c/ov9650.c:866:2: note: Control jumps to 'case 9963794:'  at 
line 867
           switch (ctrl->id) {
           ^
   drivers/media/i2c/ov9650.c:868:7: note: Assuming field 'val' is not equal to 0
                   if (!ctrl->val)
                       ^~~~~~~~~~
   drivers/media/i2c/ov9650.c:868:3: note: Taking false branch
                   if (!ctrl->val)
                   ^
   drivers/media/i2c/ov9650.c:871:7: note: Assuming 'ret' is >= 0
                   if (ret < 0)
                       ^~~~~~~
   drivers/media/i2c/ov9650.c:871:3: note: Taking false branch
                   if (ret < 0)
                   ^
   drivers/media/i2c/ov9650.c:874:7: note: 'ret' is >= 0
                   if (ret < 0)
                       ^~~
   drivers/media/i2c/ov9650.c:874:3: note: Taking false branch
                   if (ret < 0)
                   ^
   drivers/media/i2c/ov9650.c:877:15: note: Calling 'fls'
                   m = 0x01 << fls(gain >> 4);
                               ^~~~~~~~~~~~~~
   include/asm-generic/bitops/fls.h:15:2: note: 'r' initialized to 32
           int r = 32;
           ^~~~~
   include/asm-generic/bitops/fls.h:17:6: note: Assuming 'x' is not equal to 0, 
which participates in a condition later
           if (!x)
               ^~
   include/asm-generic/bitops/fls.h:17:2: note: Taking false branch
           if (!x)
           ^
   include/asm-generic/bitops/fls.h:19:6: note: Assuming the condition is false
           if (!(x & 0xffff0000u)) {
               ^~~~~~~~~~~~~~~~~~
   include/asm-generic/bitops/fls.h:19:2: note: Taking false branch
           if (!(x & 0xffff0000u)) {
           ^
   include/asm-generic/bitops/fls.h:23:6: note: Assuming the condition is false
           if (!(x & 0xff000000u)) {
               ^~~~~~~~~~~~~~~~~~
   include/asm-generic/bitops/fls.h:23:2: note: Taking false branch
           if (!(x & 0xff000000u)) {
           ^
   include/asm-generic/bitops/fls.h:27:6: note: Assuming the condition is false
           if (!(x & 0xf0000000u)) {
               ^~~~~~~~~~~~~~~~~~
   include/asm-generic/bitops/fls.h:27:2: note: Taking false branch
           if (!(x & 0xf0000000u)) {
           ^
   include/asm-generic/bitops/fls.h:31:6: note: Assuming the condition is false
           if (!(x & 0xc0000000u)) {
               ^~~~~~~~~~~~~~~~~~
   include/asm-generic/bitops/fls.h:31:2: note: Taking false branch
           if (!(x & 0xc0000000u)) {
           ^
   include/asm-generic/bitops/fls.h:35:6: note: Assuming the condition is false
           if (!(x & 0x80000000u)) {
               ^~~~~~~~~~~~~~~~~~
   include/asm-generic/bitops/fls.h:35:2: note: Taking false branch
           if (!(x & 0x80000000u)) {
           ^
   include/asm-generic/bitops/fls.h:39:2: note: Returning the value 32 (loaded 
from 'r')
           return r;
           ^~~~~~~~
   drivers/media/i2c/ov9650.c:877:15: note: Returning from 'fls'
                   m = 0x01 << fls(gain >> 4);
                               ^~~~~~~~~~~~~~
   drivers/media/i2c/ov9650.c:877:12: note: The result of the left shift is 
undefined due to shifting by '32', which is greater or equal to the width of 
type 'int'
                   m = 0x01 << fls(gain >> 4);
                            ^  ~~~~~~~~~~~~~~
   Suppressed 5 warnings (5 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.
   Suppressed 5 warnings (5 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.
   Suppressed 5 warnings (5 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.
   Suppressed 5 warnings (5 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.
   Suppressed 5 warnings (5 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.
   20 warnings generated.
>> drivers/media/platform/samsung/exynos-gsc/gsc-core.c:343:2: warning: Value 
>> stored to 'f_chk_addr' is never read [clang-analyzer-deadcode.DeadStores]
           f_chk_addr = f_chk_len = s_chk_addr = s_chk_len = 0;
           ^            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/media/platform/samsung/exynos-gsc/gsc-core.c:343:2: note: Value 
stored to 'f_chk_addr' is never read
           f_chk_addr = f_chk_len = s_chk_addr = s_chk_len = 0;
           ^            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/media/platform/samsung/exynos-gsc/gsc-core.c:343:15: warning: 
>> Although the value stored to 'f_chk_len' is used in the enclosing 
>> expression, the value is never actually read from 'f_chk_len' 
>> [clang-analyzer-deadcode.DeadStores]
           f_chk_addr = f_chk_len = s_chk_addr = s_chk_len = 0;
                        ^           ~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/media/platform/samsung/exynos-gsc/gsc-core.c:343:15: note: Although 
the value stored to 'f_chk_len' is used in the enclosing expression, the value 
is never actually read from 'f_chk_len'
           f_chk_addr = f_chk_len = s_chk_addr = s_chk_len = 0;
                        ^           ~~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/media/platform/samsung/exynos-gsc/gsc-core.c:343:27: warning: 
>> Although the value stored to 's_chk_addr' is used in the enclosing 
>> expression, the value is never actually read from 's_chk_addr' 
>> [clang-analyzer-deadcode.DeadStores]
           f_chk_addr = f_chk_len = s_chk_addr = s_chk_len = 0;
                                    ^            ~~~~~~~~~~~~~
   drivers/media/platform/samsung/exynos-gsc/gsc-core.c:343:27: note: Although 
the value stored to 's_chk_addr' is used in the enclosing expression, the value 
is never actually read from 's_chk_addr'
           f_chk_addr = f_chk_len = s_chk_addr = s_chk_len = 0;
                                    ^            ~~~~~~~~~~~~~
>> drivers/media/platform/samsung/exynos-gsc/gsc-core.c:343:40: warning: 
>> Although the value stored to 's_chk_len' is used in the enclosing 
>> expression, the value is never actually read from 's_chk_len' 
>> [clang-analyzer-deadcode.DeadStores]
           f_chk_addr = f_chk_len = s_chk_addr = s_chk_len = 0;
                                                 ^           ~
   drivers/media/platform/samsung/exynos-gsc/gsc-core.c:343:40: note: Although 
the value stored to 's_chk_len' is used in the enclosing expression, the value 
is never actually read from 's_chk_len'
           f_chk_addr = f_chk_len = s_chk_addr = s_chk_len = 0;
                                                 ^           ~
   drivers/media/platform/samsung/exynos-gsc/gsc-core.c:345:2: warning: Value 
stored to 'f_chk_addr' is never read [clang-analyzer-deadcode.DeadStores]
           f_chk_addr = frm->addr.y;
           ^            ~~~~~~~~~~~
   drivers/media/platform/samsung/exynos-gsc/gsc-core.c:345:2: note: Value 
stored to 'f_chk_addr' is never read
           f_chk_addr = frm->addr.y;
           ^            ~~~~~~~~~~~
>> drivers/media/platform/samsung/exynos-gsc/gsc-core.c:346:2: warning: Value 
>> stored to 'f_chk_len' is never read [clang-analyzer-deadcode.DeadStores]
           f_chk_len = frm->payload[0];
           ^           ~~~~~~~~~~~~~~~
   drivers/media/platform/samsung/exynos-gsc/gsc-core.c:346:2: note: Value 
stored to 'f_chk_len' is never read
           f_chk_len = frm->payload[0];
           ^           ~~~~~~~~~~~~~~~
>> drivers/media/platform/samsung/exynos-gsc/gsc-core.c:348:3: warning: Value 
>> stored to 's_chk_addr' is never read [clang-analyzer-deadcode.DeadStores]
                   s_chk_addr = frm->addr.cb;
                   ^            ~~~~~~~~~~~~
   drivers/media/platform/samsung/exynos-gsc/gsc-core.c:348:3: note: Value 
stored to 's_chk_addr' is never read
                   s_chk_addr = frm->addr.cb;
                   ^            ~~~~~~~~~~~~
>> drivers/media/platform/samsung/exynos-gsc/gsc-core.c:349:3: warning: Value 
>> stored to 's_chk_len' is never read [clang-analyzer-deadcode.DeadStores]
                   s_chk_len = frm->payload[1];
                   ^           ~~~~~~~~~~~~~~~
   drivers/media/platform/samsung/exynos-gsc/gsc-core.c:349:3: note: Value 
stored to 's_chk_len' is never read
                   s_chk_len = frm->payload[1];
                   ^           ~~~~~~~~~~~~~~~
   drivers/media/platform/samsung/exynos-gsc/gsc-core.c:372:3: warning: Value 
stored to 'f_chk_addr' is never read [clang-analyzer-deadcode.DeadStores]
                   f_chk_addr = low_addr;
                   ^            ~~~~~~~~
   drivers/media/platform/samsung/exynos-gsc/gsc-core.c:372:3: note: Value 
stored to 'f_chk_addr' is never read
                   f_chk_addr = low_addr;
                   ^            ~~~~~~~~
   drivers/media/platform/samsung/exynos-gsc/gsc-core.c:375:4: warning: Value 
stored to 'f_chk_len' is never read [clang-analyzer-deadcode.DeadStores]
                           f_chk_len = frm->payload[low_plane];
                           ^           ~~~~~~~~~~~~~~~~~~~~~~~
   drivers/media/platform/samsung/exynos-gsc/gsc-core.c:375:4: note: Value 
stored to 'f_chk_len' is never read
                           f_chk_len = frm->payload[low_plane];
                           ^           ~~~~~~~~~~~~~~~~~~~~~~~
   drivers/media/platform/samsung/exynos-gsc/gsc-core.c:376:4: warning: Value 
stored to 's_chk_addr' is never read [clang-analyzer-deadcode.DeadStores]
                           s_chk_addr = mid_addr;
                           ^            ~~~~~~~~
   drivers/media/platform/samsung/exynos-gsc/gsc-core.c:376:4: note: Value 
stored to 's_chk_addr' is never read
                           s_chk_addr = mid_addr;
                           ^            ~~~~~~~~
   drivers/media/platform/samsung/exynos-gsc/gsc-core.c:377:4: warning: Value 
stored to 's_chk_len' is never read [clang-analyzer-deadcode.DeadStores]
                           s_chk_len = high_addr +
                           ^           ~~~~~~~~~~~
   drivers/media/platform/samsung/exynos-gsc/gsc-core.c:377:4: note: Value 
stored to 's_chk_len' is never read
                           s_chk_len = high_addr +
                           ^           ~~~~~~~~~~~
   drivers/media/platform/samsung/exynos-gsc/gsc-core.c:380:4: warning: Value 
stored to 'f_chk_len' is never read [clang-analyzer-deadcode.DeadStores]
                           f_chk_len = mid_addr +
                           ^           ~~~~~~~~~~
   drivers/media/platform/samsung/exynos-gsc/gsc-core.c:380:4: note: Value 
stored to 'f_chk_len' is never read
                           f_chk_len = mid_addr +
                           ^           ~~~~~~~~~~
   drivers/media/platform/samsung/exynos-gsc/gsc-core.c:382:4: warning: Value 
stored to 's_chk_addr' is never read [clang-analyzer-deadcode.DeadStores]
                           s_chk_addr = high_addr;
                           ^            ~~~~~~~~~
   drivers/media/platform/samsung/exynos-gsc/gsc-core.c:382:4: note: Value 
stored to 's_chk_addr' is never read
                           s_chk_addr = high_addr;
                           ^            ~~~~~~~~~
   drivers/media/platform/samsung/exynos-gsc/gsc-core.c:383:4: warning: Value 
stored to 's_chk_len' is never read [clang-analyzer-deadcode.DeadStores]
                           s_chk_len = frm->payload[high_plane];
                           ^           ~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/media/platform/samsung/exynos-gsc/gsc-core.c:383:4: note: Value 
stored to 's_chk_len' is never read
                           s_chk_len = frm->payload[high_plane];
                           ^           ~~~~~~~~~~~~~~~~~~~~~~~~
   Suppressed 5 warnings (5 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.
   7 warnings generated.
   Suppressed 7 warnings (6 in non-user code, 1 with check filters).
   Use -header-filter=.* to display errors from all non-system headers. Use 
-system-headers to display errors from system headers as well.
   7 warnings generated.
   Suppressed 7 warnings (6 in non-user code, 1 with check filters).
   Use -header-filter=.* to display errors from all non-system headers. Use 
-system-headers to display errors from system headers as well.
   7 warnings generated.
   Suppressed 7 warnings (6 in non-user code, 1 with check filters).
   Use -header-filter=.* to display errors from all non-system headers. Use 
-system-headers to display errors from system headers as well.
   7 warnings generated.
   Suppressed 7 warnings (6 in non-user code, 1 with check filters).
   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.
   Suppressed 5 warnings (5 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.
   8 warnings generated.
   drivers/media/platform/chips-media/coda-common.c:478:38: warning: Array 
access (from variable 'formats') results in a null pointer dereference 
[clang-analyzer-core.NullDereference]
           if (f->index >= CODA_MAX_FORMATS || formats[f->index] == 0)
                                               ^~~~~~~
   drivers/media/platform/chips-media/coda-common.c:448:6: note: Assuming field 
'type' is equal to V4L2_BUF_TYPE_VIDEO_OUTPUT
           if (f->type == V4L2_BUF_TYPE_VIDEO_OUTPUT)
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/media/platform/chips-media/coda-common.c:448:2: note: Taking true 
branch
           if (f->type == V4L2_BUF_TYPE_VIDEO_OUTPUT)
           ^
   drivers/media/platform/chips-media/coda-common.c:449:3: note: Null pointer 
value stored to 'formats'
                   formats = cvd->src_formats;
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/media/platform/chips-media/coda-common.c:478:6: note: Assuming field 
'index' is < CODA_MAX_FORMATS
           if (f->index >= CODA_MAX_FORMATS || formats[f->index] == 0)
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/media/platform/chips-media/coda-common.c:478:6: note: Left side of 
'||' is false
   drivers/media/platform/chips-media/coda-common.c:478:38: note: Array access 
(from variable 'formats') results in a null pointer dereference
           if (f->index >= CODA_MAX_FORMATS || formats[f->index] == 0)
                                               ^~~~~~~
   include/linux/list.h:137:13: warning: Use of memory after it is freed 
[clang-analyzer-unix.Malloc]
           __list_del(entry->prev, entry->next);
                      ^
   drivers/media/platform/chips-media/coda-common.c:2117:9: note: Assuming 
field 'streamon_out' is not equal to 0
           stop = ctx->streamon_out && ctx->streamon_cap;
                  ^~~~~~~~~~~~~~~~~
   drivers/media/platform/chips-media/coda-common.c:2117:9: note: Left side of 
'&&' is true
   drivers/media/platform/chips-media/coda-common.c:2119:2: note: Assuming 
'coda_debug' is < 1
           coda_dbg(1, ctx, "stop streaming %s\n", v4l2_type_names[q->type]);
           ^
   drivers/media/platform/chips-media/coda.h:300:7: note: expanded from macro 
'coda_dbg'
                   if (coda_debug >= (level))                              \
                       ^~~~~~~~~~~~~~~~~~~~~
   drivers/media/platform/chips-media/coda-common.c:2119:2: note: Taking false 
branch
           coda_dbg(1, ctx, "stop streaming %s\n", v4l2_type_names[q->type]);
           ^

vim +/f_chk_addr +343 drivers/media/platform/samsung/exynos-gsc/gsc-core.c

89069699769aa4 drivers/media/platform/exynos-gsc/gsc-core.c Sungchun Kang       
  2012-07-31  339  
89069699769aa4 drivers/media/platform/exynos-gsc/gsc-core.c Sungchun Kang       
  2012-07-31  340  void gsc_set_prefbuf(struct gsc_dev *gsc, struct gsc_frame 
*frm)
89069699769aa4 drivers/media/platform/exynos-gsc/gsc-core.c Sungchun Kang       
  2012-07-31  341  {
89069699769aa4 drivers/media/platform/exynos-gsc/gsc-core.c Sungchun Kang       
  2012-07-31  342       u32 f_chk_addr, f_chk_len, s_chk_addr, s_chk_len;
89069699769aa4 drivers/media/platform/exynos-gsc/gsc-core.c Sungchun Kang       
  2012-07-31 @343       f_chk_addr = f_chk_len = s_chk_addr = s_chk_len = 0;
89069699769aa4 drivers/media/platform/exynos-gsc/gsc-core.c Sungchun Kang       
  2012-07-31  344  
89069699769aa4 drivers/media/platform/exynos-gsc/gsc-core.c Sungchun Kang       
  2012-07-31 @345       f_chk_addr = frm->addr.y;
89069699769aa4 drivers/media/platform/exynos-gsc/gsc-core.c Sungchun Kang       
  2012-07-31 @346       f_chk_len = frm->payload[0];
89069699769aa4 drivers/media/platform/exynos-gsc/gsc-core.c Sungchun Kang       
  2012-07-31  347       if (frm->fmt->num_planes == 2) {
89069699769aa4 drivers/media/platform/exynos-gsc/gsc-core.c Sungchun Kang       
  2012-07-31 @348               s_chk_addr = frm->addr.cb;
89069699769aa4 drivers/media/platform/exynos-gsc/gsc-core.c Sungchun Kang       
  2012-07-31 @349               s_chk_len = frm->payload[1];
89069699769aa4 drivers/media/platform/exynos-gsc/gsc-core.c Sungchun Kang       
  2012-07-31  350       } else if (frm->fmt->num_planes == 3) {
89069699769aa4 drivers/media/platform/exynos-gsc/gsc-core.c Sungchun Kang       
  2012-07-31  351               u32 low_addr, low_plane, mid_addr, mid_plane;
89069699769aa4 drivers/media/platform/exynos-gsc/gsc-core.c Sungchun Kang       
  2012-07-31  352               u32 high_addr, high_plane;
89069699769aa4 drivers/media/platform/exynos-gsc/gsc-core.c Sungchun Kang       
  2012-07-31  353               u32 t_min, t_max;
89069699769aa4 drivers/media/platform/exynos-gsc/gsc-core.c Sungchun Kang       
  2012-07-31  354  
89069699769aa4 drivers/media/platform/exynos-gsc/gsc-core.c Sungchun Kang       
  2012-07-31  355               t_min = min3(frm->addr.y, frm->addr.cb, 
frm->addr.cr);
32af858cc96b0c drivers/media/platform/exynos-gsc/gsc-core.c Mauro Carvalho 
Chehab 2014-11-25  356               if (get_plane_info(frm, t_min, &low_plane, 
&low_addr))
32af858cc96b0c drivers/media/platform/exynos-gsc/gsc-core.c Mauro Carvalho 
Chehab 2014-11-25  357                       return;
89069699769aa4 drivers/media/platform/exynos-gsc/gsc-core.c Sungchun Kang       
  2012-07-31  358               t_max = max3(frm->addr.y, frm->addr.cb, 
frm->addr.cr);
32af858cc96b0c drivers/media/platform/exynos-gsc/gsc-core.c Mauro Carvalho 
Chehab 2014-11-25  359               if (get_plane_info(frm, t_max, 
&high_plane, &high_addr))
32af858cc96b0c drivers/media/platform/exynos-gsc/gsc-core.c Mauro Carvalho 
Chehab 2014-11-25  360                       return;
89069699769aa4 drivers/media/platform/exynos-gsc/gsc-core.c Sungchun Kang       
  2012-07-31  361  
89069699769aa4 drivers/media/platform/exynos-gsc/gsc-core.c Sungchun Kang       
  2012-07-31  362               mid_plane = 3 - (low_plane + high_plane);
89069699769aa4 drivers/media/platform/exynos-gsc/gsc-core.c Sungchun Kang       
  2012-07-31  363               if (mid_plane == 0)
89069699769aa4 drivers/media/platform/exynos-gsc/gsc-core.c Sungchun Kang       
  2012-07-31  364                       mid_addr = frm->addr.y;
89069699769aa4 drivers/media/platform/exynos-gsc/gsc-core.c Sungchun Kang       
  2012-07-31  365               else if (mid_plane == 1)
89069699769aa4 drivers/media/platform/exynos-gsc/gsc-core.c Sungchun Kang       
  2012-07-31  366                       mid_addr = frm->addr.cb;
89069699769aa4 drivers/media/platform/exynos-gsc/gsc-core.c Sungchun Kang       
  2012-07-31  367               else if (mid_plane == 2)
89069699769aa4 drivers/media/platform/exynos-gsc/gsc-core.c Sungchun Kang       
  2012-07-31  368                       mid_addr = frm->addr.cr;
89069699769aa4 drivers/media/platform/exynos-gsc/gsc-core.c Sungchun Kang       
  2012-07-31  369               else
89069699769aa4 drivers/media/platform/exynos-gsc/gsc-core.c Sungchun Kang       
  2012-07-31  370                       return;
89069699769aa4 drivers/media/platform/exynos-gsc/gsc-core.c Sungchun Kang       
  2012-07-31  371  
89069699769aa4 drivers/media/platform/exynos-gsc/gsc-core.c Sungchun Kang       
  2012-07-31  372               f_chk_addr = low_addr;
89069699769aa4 drivers/media/platform/exynos-gsc/gsc-core.c Sungchun Kang       
  2012-07-31  373               if (mid_addr + frm->payload[mid_plane] - 
low_addr >
89069699769aa4 drivers/media/platform/exynos-gsc/gsc-core.c Sungchun Kang       
  2012-07-31  374                   high_addr + frm->payload[high_plane] - 
mid_addr) {
89069699769aa4 drivers/media/platform/exynos-gsc/gsc-core.c Sungchun Kang       
  2012-07-31  375                       f_chk_len = frm->payload[low_plane];
89069699769aa4 drivers/media/platform/exynos-gsc/gsc-core.c Sungchun Kang       
  2012-07-31  376                       s_chk_addr = mid_addr;
89069699769aa4 drivers/media/platform/exynos-gsc/gsc-core.c Sungchun Kang       
  2012-07-31  377                       s_chk_len = high_addr +
89069699769aa4 drivers/media/platform/exynos-gsc/gsc-core.c Sungchun Kang       
  2012-07-31  378                                       
frm->payload[high_plane] - mid_addr;
89069699769aa4 drivers/media/platform/exynos-gsc/gsc-core.c Sungchun Kang       
  2012-07-31  379               } else {
89069699769aa4 drivers/media/platform/exynos-gsc/gsc-core.c Sungchun Kang       
  2012-07-31  380                       f_chk_len = mid_addr +
89069699769aa4 drivers/media/platform/exynos-gsc/gsc-core.c Sungchun Kang       
  2012-07-31  381                                       frm->payload[mid_plane] 
- low_addr;
89069699769aa4 drivers/media/platform/exynos-gsc/gsc-core.c Sungchun Kang       
  2012-07-31  382                       s_chk_addr = high_addr;
89069699769aa4 drivers/media/platform/exynos-gsc/gsc-core.c Sungchun Kang       
  2012-07-31  383                       s_chk_len = frm->payload[high_plane];
89069699769aa4 drivers/media/platform/exynos-gsc/gsc-core.c Sungchun Kang       
  2012-07-31  384               }
89069699769aa4 drivers/media/platform/exynos-gsc/gsc-core.c Sungchun Kang       
  2012-07-31  385       }
89069699769aa4 drivers/media/platform/exynos-gsc/gsc-core.c Sungchun Kang       
  2012-07-31  386       pr_debug("f_addr = 0x%08x, f_len = %d, s_addr = 0x%08x, 
s_len = %d\n",
89069699769aa4 drivers/media/platform/exynos-gsc/gsc-core.c Sungchun Kang       
  2012-07-31  387                       f_chk_addr, f_chk_len, s_chk_addr, 
s_chk_len);
89069699769aa4 drivers/media/platform/exynos-gsc/gsc-core.c Sungchun Kang       
  2012-07-31  388  }
89069699769aa4 drivers/media/platform/exynos-gsc/gsc-core.c Sungchun Kang       
  2012-07-31  389  

:::::: The code at line 343 was first introduced by commit
:::::: 89069699769aa4108023a80ac953454e1d26af6b [media] gscaler: Add core 
functionality for the G-Scaler driver

:::::: TO: Sungchun Kang <[email protected]>
:::::: CC: Mauro Carvalho Chehab <[email protected]>

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

Reply via email to