mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Zach Brown <zach.brown@ni.com>
Cc: kbuild-all@01.org, dwmw2@infradead.org,
	computersforpeace@gmail.com, dedekind1@gmail.com, richard@nod.at,
	linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] UBI: add debugfs file for tracking PEB state
Date: Tue, 20 Sep 2016 03:42:48 +0800	[thread overview]
Message-ID: <201609200301.goCfd0Pp%fengguang.wu@intel.com> (raw)
In-Reply-To: <1474310864-1743-1-git-send-email-zach.brown@ni.com>

[-- Attachment #1: Type: text/plain, Size: 2003 bytes --]

Hi Ben,

[auto build test WARNING on mtd/master]
[also build test WARNING on v4.8-rc7 next-20160919]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
[Suggest to use git(>=2.9.0) format-patch --base=<commit> (or --base=auto for convenience) to record what (public, well-known) commit your patch series was built on]
[Check https://git-scm.com/docs/git-format-patch for more information]

url:    https://github.com/0day-ci/linux/commits/Zach-Brown/UBI-add-debugfs-file-for-tracking-PEB-state/20160920-025147
base:   git://git.infradead.org/linux-mtd.git master
config: x86_64-randconfig-i0-201638 (attached as .config)
compiler: gcc-4.9 (Debian 4.9.4-2) 4.9.4
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All warnings (new ones prefixed by >>):

   drivers/mtd/ubi/debug.c: In function 'eraseblk_count_open':
>> drivers/mtd/ubi/debug.c:515:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
     s->private = ubi_get_device((int)inode->i_private);
                                 ^

vim +515 drivers/mtd/ubi/debug.c

   499		.start = eraseblk_count_seq_start,
   500		.next = eraseblk_count_seq_next,
   501		.stop = eraseblk_count_seq_stop,
   502		.show = eraseblk_count_seq_show
   503	};
   504	
   505	static int eraseblk_count_open(struct inode *inode, struct file *f)
   506	{
   507		struct seq_file *s;
   508		int err;
   509	
   510		err = seq_open(f, &eraseblk_count_seq_ops);
   511		if (err)
   512			return err;
   513	
   514		s = f->private_data;
 > 515		s->private = ubi_get_device((int)inode->i_private);
   516	
   517		if (!s->private)
   518			return -ENODEV;
   519		else
   520			return 0;
   521	}
   522	
   523	static int eraseblk_count_release(struct inode *inode, struct file *f)

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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 22511 bytes --]

  parent reply	other threads:[~2016-09-19 19:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-19 18:47 Zach Brown
2016-09-19 19:03 ` Richard Weinberger
2016-09-19 19:42 ` kbuild test robot [this message]
2016-10-17 15:57 Zach Brown

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=201609200301.goCfd0Pp%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=computersforpeace@gmail.com \
    --cc=dedekind1@gmail.com \
    --cc=dwmw2@infradead.org \
    --cc=kbuild-all@01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mtd@lists.infradead.org \
    --cc=richard@nod.at \
    --cc=zach.brown@ni.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®