From: kernel test robot <lkp@intel.com>
To: kbuild@lists.01.org
Subject: drivers/gpu/drm/i915/gem/i915_gem_ttm.c:898 i915_gem_ttm_system_setup() warn: should 'totalram_pages() << 12' be a 64 bit type?
Date: Wed, 04 May 2022 10:53:48 +0800 [thread overview]
Message-ID: <202205041036.DmkusTeb-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1813 bytes --]
CC: kbuild-all(a)lists.01.org
BCC: lkp(a)intel.com
CC: linux-kernel(a)vger.kernel.org
TO: "Thomas Hellström" <thomas.hellstrom@linux.intel.com>
CC: Matthew Auld <matthew.auld@intel.com>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: ef8e4d3c2ab1f47f63b6c7e578266b7e5cc9cd1b
commit: 32b7cf51a441270c62ebaa146c9431e6f155d901 drm/i915/ttm: Use TTM for system memory
date: 10 months ago
:::::: branch date: 10 hours ago
:::::: commit date: 10 months ago
config: i386-randconfig-m021-20220502 (https://download.01.org/0day-ci/archive/20220504/202205041036.DmkusTeb-lkp(a)intel.com/config)
compiler: gcc-11 (Debian 11.2.0-20) 11.2.0
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
smatch warnings:
drivers/gpu/drm/i915/gem/i915_gem_ttm.c:898 i915_gem_ttm_system_setup() warn: should 'totalram_pages() << 12' be a 64 bit type?
vim +898 drivers/gpu/drm/i915/gem/i915_gem_ttm.c
32b7cf51a441270 Thomas Hellström 2021-06-24 890
32b7cf51a441270 Thomas Hellström 2021-06-24 891 struct intel_memory_region *
32b7cf51a441270 Thomas Hellström 2021-06-24 892 i915_gem_ttm_system_setup(struct drm_i915_private *i915,
32b7cf51a441270 Thomas Hellström 2021-06-24 893 u16 type, u16 instance)
32b7cf51a441270 Thomas Hellström 2021-06-24 894 {
32b7cf51a441270 Thomas Hellström 2021-06-24 895 struct intel_memory_region *mr;
32b7cf51a441270 Thomas Hellström 2021-06-24 896
32b7cf51a441270 Thomas Hellström 2021-06-24 897 mr = intel_memory_region_create(i915, 0,
32b7cf51a441270 Thomas Hellström 2021-06-24 @898 totalram_pages() << PAGE_SHIFT,
--
0-DAY CI Kernel Test Service
https://01.org/lkp
reply other threads:[~2022-05-04 2:53 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202205041036.DmkusTeb-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild@lists.01.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.