Re: [PATCH] saner warnings for restricted types

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2008-01-15 at 18:58 +0000, Al Viro wrote:
> On Tue, Jan 15, 2008 at 12:36:12PM -0500, Pavel Roskin wrote:
> > On Tue, 2008-01-15 at 16:52 +0000, Al Viro wrote:
> > >  	if (class & TYPE_RESTRICT) {
> > > -		warning(expr->pos, "restricted degrades to integer");
> > >  		if (class & TYPE_FOULED)
> > >  			*ctype = unfoul(*ctype);
> > > +		warning(expr->pos, "%sdegrades to integer",
> > > +			show_typename(*ctype));
> > 
> > Missing space after "%s"?
> 
> No.  Try it and you'll see...

OK, just wanted to make sure.  Thanks for the explanation!

-- 
Regards,
Pavel Roskin
-
To unsubscribe from this list: send the line "unsubscribe linux-sparse" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Newbies FAQ]     [LKML]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Trinity Fuzzer Tool]

  Powered by Linux