Date: Mon, 22 Jun 2009 14:43:48 +0000 (UTC) From: Scott Long <scottl@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/cam cam_periph.c cam_periph.h Message-ID: <200906221444.n5MEiA0G017053@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
scottl 2009-06-22 14:43:48 UTC FreeBSD src repository Modified files: sys/cam cam_periph.c cam_periph.h Log: SVN rev 194627 on 2009-06-22 14:43:48Z by scottl Change cam_periph_ioctl() to take 'cmd' and a u_long instead of an int. All of its callers pass in cmd as a u_long, so this has always been a dangerous type demotion. It was spooted by clang/llvm trying to do a type promotion and sign extension within cam_periph_ioctl. Submitted by: rdivacky Revision Changes Path 1.79 +1 -1 src/sys/cam/cam_periph.c 1.20 +1 -1 src/sys/cam/cam_periph.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906221444.n5MEiA0G017053>