lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <48441B56.8080905@billgatliff.com>
Date:	Mon, 02 Jun 2008 11:09:58 -0500
From:	Bill Gatliff <bgat@...lgatliff.com>
To:	Ben Hutchings <bhutchings@...arflare.com>
CC:	Steve Glendinning <steve.glendinning@...c.com>,
	netdev@...r.kernel.org, Michael.Hennerich@...log.com,
	Enrik.Berkhan@...com, hennerich@...ckfin.uclinux.org,
	ian.saturley@...c.com, uclinux-dist-devel@...ckfin.uclinux.org,
	catalin.marinas@....com, Bahadir Balban <Bahadir.Balban@....com>,
	Dustin Mcintire <dustin@...soria.com>
Subject: Re: [PATCH] SMSC LAN911x and LAN921x vendor driver

Ben Hutchings wrote:
>> +static int smsc911x_phy_loopbacktest(struct smsc911x_data *pdata)
>> +{
>> +	int result = 0;
>> +	unsigned int i;
>> +	unsigned int val;
>> +	unsigned long flags;
>> +
>> +	/* Initialise tx packet using broadcast destination address */
>> +	for (i = 0; i < 6; i++)
>> +		pdata->loopback_tx_pkt[i] = (char)0xFF;
> 
> The cast to char is just noise.

Not sure.  What about signed vs. unsigned?


b.g.
-- 
Bill Gatliff
bgat@...lgatliff.com
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ