TO: David Fries <da...@fries.net> CC: "Greg Kroah-Hartman" <gre...@linuxfoundation.org>
tree: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git char-misc-next head: 1690e35f9b95e0efe063d76a7ab485db3e8d3bc5 commit: 8a0427d192e6043834414210dd14cc1289daff18 [29/39] w1: optional bundling of netlink kernel replies :::::: branch date: 47 minutes ago :::::: commit date: 75 minutes ago drivers/w1/w1_netlink.c:267 w1_send_slave() error: we previously assumed 'block->cmd' could be null (see line 262) git remote add char-misc git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git git remote update char-misc git checkout 8a0427d192e6043834414210dd14cc1289daff18 vim +267 drivers/w1/w1_netlink.c 8a0427d1 David Fries 2014-04-08 256 struct w1_netlink_cmd *cache_cmd = block->cmd; 6b355b33 David Fries 2014-01-15 257 u64 *data; 3b838407 Evgeniy Polyakov 2009-01-07 258 8a0427d1 David Fries 2014-04-08 259 w1_reply_make_space(block, sizeof(*data)); 3b838407 Evgeniy Polyakov 2009-01-07 260 8a0427d1 David Fries 2014-04-08 261 /* Add cmd back if the packet was sent */ 8a0427d1 David Fries 2014-04-08 @262 if (!block->cmd) { 8a0427d1 David Fries 2014-04-08 263 cache_cmd->len = 0; 8a0427d1 David Fries 2014-04-08 264 w1_netlink_queue_cmd(block, cache_cmd); 3b838407 Evgeniy Polyakov 2009-01-07 265 } 3b838407 Evgeniy Polyakov 2009-01-07 266 8a0427d1 David Fries 2014-04-08 @267 data = (u64 *)(block->cmd->data + block->cmd->len); 3b838407 Evgeniy Polyakov 2009-01-07 268 6b355b33 David Fries 2014-01-15 269 *data = rn; 8a0427d1 David Fries 2014-04-08 270 block->cn->len += sizeof(*data); --- 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