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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <57A452E0.10904@gmail.com>
Date:	Fri, 5 Aug 2016 14:18:32 +0530
From:	arvind Yadav <arvind.yadav.cs@...il.com>
To:	Arnd Bergmann <arnd@...db.de>, linuxppc-dev@...ts.ozlabs.org
Cc:	zajec5@...il.com, leoli@...escale.com, qiang.zhao@...escale.com,
	viresh.kumar@...aro.org, linux-wireless@...r.kernel.org,
	netdev@...r.kernel.org, scottwood@...escale.com,
	akpm@...ux-foundation.org, linux@...ck-us.net
Subject: Re: [v5.1] ucc_fast: Fix to avoid IS_ERR_VALUE abuses and dead code
 on 64bit systems.



On Friday 05 August 2016 02:01 AM, Arnd Bergmann wrote:
> On Thursday, August 4, 2016 10:22:43 PM CEST Arvind Yadav wrote:
>> index df8ea79..ada9070 100644
>> --- a/include/soc/fsl/qe/ucc_fast.h
>> +++ b/include/soc/fsl/qe/ucc_fast.h
>> @@ -165,10 +165,12 @@ struct ucc_fast_private {
>>          int stopped_tx;         /* Whether channel has been stopped for Tx
>>                                     (STOP_TX, etc.) */
>>          int stopped_rx;         /* Whether channel has been stopped for Rx */
>> -       u32 ucc_fast_tx_virtual_fifo_base_offset;/* pointer to base of Tx
>> -                                                   virtual fifo */
>> -       u32 ucc_fast_rx_virtual_fifo_base_offset;/* pointer to base of Rx
>> -                                                   virtual fifo */
>> +       unsigned long ucc_fast_tx_virtual_fifo_base_offset;/* pointer to base of
>> +                                                           * Tx virtual fifo
>> +                                                           */
>> +       unsigned long ucc_fast_rx_virtual_fifo_base_offset;/* pointer to base of
>> +                                                           * Rx virtual fifo
>> +                                                           */
>>   #ifdef STATISTICS
>>          u32 tx_frames;          /* Transmitted frames counter. */
>>          u32 rx_frames;          /* Received frames counter (only frames
>>
> This change seems ok, but what about the other u32 variables in ucc_geth.c
> that get checked for IS_ERR_VALUE?
>
> 	Arnd
> I have send separate patch for ucc_geth ans ucc_slow.
> -Arvind

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ