Codex tools: Log in
Retrieve the permalink for the feed of the search results.
<?php echo get_search_feed_link( $search_query, $feed ) ?>
If you don't echo the function you're simply going to get a permalink to the page with no RSS feed for the search results.
get_search_feed_link() is located in