Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1682038

linux-next: build warning after merge of the rtc tree

From Stephen Rothwell <sfr@canb.auug.org.au>
Newsgroups linux.kernel
Subject linux-next: build warning after merge of the rtc tree
Date 2017-07-06 06:30 +0200
Message-ID <u06Ap-7Hd-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Hi Alexandre,

After merging the rtc tree, today's linux-next build (powerpc
ppc64_defconfig) produced this warning:

drivers/rtc/rtc-ds1307.c: In function 'ds1307_get_time':
drivers/rtc/rtc-ds1307.c:342:26: warning: unused variable 'chip' [-Wunused-variable]
  const struct chip_desc *chip = &chips[ds1307->type];
                          ^

Introduced by commit

  436c93db60a4 ("rtc: ds1307: factor out century bit handling")

-- 
Cheers,
Stephen Rothwell

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

linux-next: build warning after merge of the rtc tree Stephen Rothwell <sfr@canb.auug.org.au> - 2017-07-06 06:30 +0200
  Re: linux-next: build warning after merge of the rtc tree Heiner Kallweit <hkallweit1@gmail.com> - 2017-07-06 08:00 +0200
    Re: linux-next: build warning after merge of the rtc tree Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2017-07-06 09:00 +0200

csiph-web