commit
0e5a5d31f5
@ -442,7 +442,6 @@ uint32_t hashlittle( const void *key, size_t length, uint32_t initval)
|
||||
case 0 : return c;
|
||||
}
|
||||
}
|
||||
|
||||
final(a,b,c);
|
||||
return c;
|
||||
}
|
||||
@ -671,7 +670,7 @@ uint32_t hashbig( const void *key, size_t length, uint32_t initval)
|
||||
* does it on word boundaries, so is OK with this. But VALGRIND will
|
||||
* still catch it and complain. The masking trick does make the hash
|
||||
* noticeably faster for short strings (like English words).
|
||||
*/
|
||||
* */
|
||||
#ifndef VALGRIND
|
||||
|
||||
switch(length)
|
||||
@ -802,11 +801,10 @@ void driver2()
|
||||
{
|
||||
for (j=0; j<8; ++j) /*------------------------ for each input bit, */
|
||||
{
|
||||
for (m=1; m<8; ++m) /*------------ for several possible initvals, */
|
||||
for (m=1; m<8; ++m) /*------------ for serveral possible initvals, */
|
||||
{
|
||||
for (l=0; l<HASHSTATE; ++l)
|
||||
e[l]=f[l]=g[l]=h[l]=x[l]=y[l]=~((uint32_t)0);
|
||||
|
||||
/*---- check that every output bit is affected by that input bit */
|
||||
for (k=0; k<MAXPAIR; k+=2)
|
||||
{
|
||||
|
@ -79,10 +79,8 @@ struct batadv_nlquery_opts {
|
||||
*
|
||||
* Return: Return true when a attribute is missing, false otherwise
|
||||
*/
|
||||
static inline bool
|
||||
batadv_genl_missing_attrs(struct nlattr *attrs[],
|
||||
const enum batadv_nl_attrs mandatory[], size_t num)
|
||||
{
|
||||
static inline bool batadv_genl_missing_attrs(struct nlattr *attrs[],
|
||||
const enum batadv_nl_attrs mandatory[], size_t num) {
|
||||
size_t i;
|
||||
|
||||
for (i = 0; i < num; i++) {
|
||||
|
Loading…
Reference in New Issue
Block a user