[radeon-alex:amd-staging-4.11 500/1085] drivers/gpu/drm/amd/amdgpu/../display/dc/basics/logger.c:74:2-34: duplicated argument to & or | (fwd)

Julia Lawall julia.lawall at lip6.fr
Fri May 12 02:52:24 UTC 2017


Hello,

It seems that (1 << LOG_DETECTION_EDID_PARSER) appears more than once in
the bit or (only one instance shown, on line 74).

julia

---------- Forwarded message ----------
Date: Fri, 12 May 2017 09:54:09 +0800
From: kbuild test robot <fengguang.wu at intel.com>
To: kbuild at 01.org
Cc: Julia Lawall <julia.lawall at lip6.fr>
Subject: [radeon-alex:amd-staging-4.11 500/1085]
    drivers/gpu/drm/amd/amdgpu/../display/dc/basics/logger.c:74:2-34: duplicated
     argument to & or |

CC: kbuild-all at 01.org
CC: dri-devel at lists.freedesktop.org
TO: Harry Wentland <harry.wentland at amd.com>
CC: Alex Deucher <alexander.deucher at amd.com>

tree:   git://people.freedesktop.org/~agd5f/linux.git amd-staging-4.11
head:   c285c73f2213f503a93aa142fff186e160b4a371
commit: 105f1512a3e60d5060a87d235c5d5fe127bf5e0a [500/1085] drm/amd/dc: Add dc display driver (v2)
:::::: branch date: 7 hours ago
:::::: commit date: 10 days ago

>> drivers/gpu/drm/amd/amdgpu/../display/dc/basics/logger.c:74:2-34: duplicated argument to & or |

git remote add radeon-alex git://people.freedesktop.org/~agd5f/linux.git
git remote update radeon-alex
git checkout 105f1512a3e60d5060a87d235c5d5fe127bf5e0a
vim +74 drivers/gpu/drm/amd/amdgpu/../display/dc/basics/logger.c

105f1512 Harry Wentland 2017-04-18  58  		{LOG_EVENT_LINK_TRAINING,   "LKTN"},
105f1512 Harry Wentland 2017-04-18  59  		{LOG_EVENT_LINK_LOSS,       "LinkLoss"},
105f1512 Harry Wentland 2017-04-18  60  		{LOG_EVENT_UNDERFLOW,       "Underflow"},
105f1512 Harry Wentland 2017-04-18  61  		{LOG_IF_TRACE,				"InterfaceTrace"}
105f1512 Harry Wentland 2017-04-18  62  };
105f1512 Harry Wentland 2017-04-18  63
105f1512 Harry Wentland 2017-04-18  64
105f1512 Harry Wentland 2017-04-18  65  #define DC_DEFAULT_LOG_MASK ((1 << LOG_ERROR) | \
105f1512 Harry Wentland 2017-04-18  66  		(1 << LOG_WARNING) | \
105f1512 Harry Wentland 2017-04-18  67  		(1 << LOG_EVENT_MODE_SET) | \
105f1512 Harry Wentland 2017-04-18  68  		(1 << LOG_EVENT_DETECTION) | \
105f1512 Harry Wentland 2017-04-18  69  		(1 << LOG_EVENT_LINK_TRAINING) | \
105f1512 Harry Wentland 2017-04-18  70  		(1 << LOG_EVENT_LINK_LOSS) | \
105f1512 Harry Wentland 2017-04-18  71  		(1 << LOG_EVENT_UNDERFLOW) | \
105f1512 Harry Wentland 2017-04-18  72  		(1 << LOG_RESOURCE) | \
105f1512 Harry Wentland 2017-04-18  73  		(1 << LOG_FEATURE_OVERRIDE) | \
105f1512 Harry Wentland 2017-04-18 @74  		(1 << LOG_DETECTION_EDID_PARSER) | \
105f1512 Harry Wentland 2017-04-18  75  		(1 << LOG_DC) | \
105f1512 Harry Wentland 2017-04-18  76  		(1 << LOG_HW_HOTPLUG) | \
105f1512 Harry Wentland 2017-04-18  77  		(1 << LOG_HW_SET_MODE) | \
105f1512 Harry Wentland 2017-04-18  78  		(1 << LOG_HW_RESUME_S3) | \
105f1512 Harry Wentland 2017-04-18  79  		(1 << LOG_HW_HPD_IRQ) | \
105f1512 Harry Wentland 2017-04-18  80  		(1 << LOG_SYNC) | \
105f1512 Harry Wentland 2017-04-18  81  		(1 << LOG_BANDWIDTH_VALIDATION) | \
105f1512 Harry Wentland 2017-04-18  82  		(1 << LOG_MST) | \

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation


More information about the dri-devel mailing list