tree: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git driver-core-next head: 868b60e0550247fc83630070ff64bbfb803b2347 commit: 6955b58254c2bcee8a7b55ce06468a645dc98ec5 [4/5] component: add support for component match array
drivers/base/component.c:297 component_master_add_with_match() error: we previously assumed 'match' could be null (see line 293) git remote add driver-core git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git git remote update driver-core git checkout 6955b58254c2bcee8a7b55ce06468a645dc98ec5 vim +/match +297 drivers/base/component.c 6955b582 Russell King 2014-04-19 287 const struct component_master_ops *ops, 6955b582 Russell King 2014-04-19 288 struct component_match *match) 2a41e607 Russell King 2014-01-10 289 { 2a41e607 Russell King 2014-01-10 290 struct master *master; 2a41e607 Russell King 2014-01-10 291 int ret; 2a41e607 Russell King 2014-01-10 292 6955b582 Russell King 2014-04-19 @293 if (ops->add_components && match) 6955b582 Russell King 2014-04-19 294 return -EINVAL; 6955b582 Russell King 2014-04-19 295 6955b582 Russell King 2014-04-19 296 /* Reallocate the match array for its true size */ 6955b582 Russell King 2014-04-19 @297 match = component_match_realloc(dev, match, match->num); 6955b582 Russell King 2014-04-19 298 if (IS_ERR(match)) 6955b582 Russell King 2014-04-19 299 return PTR_ERR(match); 6955b582 Russell King 2014-04-19 300 --- 0-DAY kernel build testing backend Open Source Technology Center http://lists.01.org/mailman/listinfo/kbuild Intel Corporation _______________________________________________ kbuild mailing list kbuild@lists.01.org https://lists.01.org/mailman/listinfo/kbuild