How to embedding Comment form for each individual item in drupal's view?
In Drupal 7, function comment_form() is expecting an object parameter instead of array. This code should work for you:

$comment = new stdClass;
$comment-&gt;nid = $nid;
$form = drupal_get_form('comment_form', $comment);
print render($form);