From mboxrd@z Thu Jan 1 00:00:00 1970 From: Muli Ben-Yehuda Subject: Re: [patch 20/20] XEN-paravirt: Add Xen virtual block device driver. Date: Sun, 14 Jan 2007 13:24:12 +0200 Message-ID: <20070114112412.GA32719@rhun.haifa.ibm.com> References: <20070113014539.408244126@goop.org> <20070113014649.256179743@goop.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jan Engelhardt Cc: Andrew Morton , Jeremy Fitzhardinge , xen-devel@lists.xensource.com, Ian Pratt , linux-kernel@vger.kernel.org, Chris Wright , virtualization@lists.osdl.org, Christian Limpach List-Id: virtualization@lists.linuxfoundation.org On Sun, Jan 14, 2007 at 12:05:13PM +0100, Jan Engelhardt wrote: > >+ (void)xenbus_switch_state(info->xbdev, XenbusStateConnected); > > Cast remove, if xenbus_switch_state does not have __must_check. > Also elsewhere. Hmm, why? this way you know that the programmer isn't checking the return value *on purpose*. More information is good. Cheers, Muli