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] [day] [month] [year] [list]
Message-ID: <201703170511.65VejFeA%fengguang.wu@intel.com>
Date:   Fri, 17 Mar 2017 05:22:52 +0800
From:   kbuild test robot <lkp@...el.com>
To:     Junil Lee <junil0814.lee@....com>
Cc:     kbuild-all@...org, labbott@...hat.com, sumit.semwal@...aro.org,
        gregkh@...uxfoundation.org, arve@...roid.com,
        riandrews@...roid.com, devel@...verdev.osuosl.org,
        linux-kernel@...r.kernel.org, Junil Lee <junil0814.lee@....com>,
        Bongkyu Kim <bongkyu.kim@....com>
Subject: Re: [PATCH] staging: android: ion: reduce lock contention latency

Hi Junil,

[auto build test WARNING on staging/staging-testing]
[also build test WARNING on v4.11-rc2 next-20170310]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Junil-Lee/staging-android-ion-reduce-lock-contention-latency/20170317-021346
config: i386-randconfig-i0-201711 (attached as .config)
compiler: gcc-4.8 (Debian 4.8.4-1) 4.8.4
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All warnings (new ones prefixed by >>):

   drivers/staging/android/ion/ion_page_pool.c: In function 'ion_page_pool_remove':
>> drivers/staging/android/ion/ion_page_pool.c:68:9: warning: assignment from incompatible pointer type [enabled by default]
       node = llist_entry((struct list_head *)node, struct page, lru);
            ^
   drivers/staging/android/ion/ion_page_pool.c:74:9: warning: assignment from incompatible pointer type [enabled by default]
       node = llist_entry((struct list_head *)node, struct page, lru);
            ^

vim +68 drivers/staging/android/ion/ion_page_pool.c

    52			llist_add((struct llist_node *)&page->lru, &pool->low_items);
    53			atomic_inc(&pool->low_count);
    54		}
    55	
    56		return 0;
    57	}
    58	
    59	static struct page *ion_page_pool_remove(struct ion_page_pool *pool, bool high)
    60	{
    61		struct page *page = NULL;
    62		struct llist_node *node;
    63	
    64		if (high) {
    65			BUG_ON(!atomic_read(&pool->high_count));
    66			node = llist_del_first(&pool->high_items);
    67			if (node)
  > 68				node = llist_entry((struct list_head *)node, struct page, lru);
    69			atomic_dec(&pool->high_count);
    70		} else {
    71			BUG_ON(!atomic_read(&pool->low_count));
    72			node = llist_del_first(&pool->low_items);
    73			if (node)
    74				node = llist_entry((struct list_head *)node, struct page, lru);
    75			atomic_dec(&pool->low_count);
    76		}

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Download attachment ".config.gz" of type "application/gzip" (31734 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ