Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1347902 > unrolled thread
| Started by | Juergen Borleis <jbe@pengutronix.de> |
|---|---|
| First post | 2016-03-02 10:50 +0100 |
| Last post | 2016-03-02 11:30 +0100 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: [abelloni:rtc-testing 55/55] drivers/rtc/rtc-pcf85063.c:72:19: warning: unused variable 'pcf85063' Juergen Borleis <jbe@pengutronix.de> - 2016-03-02 10:50 +0100
Re: [abelloni:rtc-testing 55/55] drivers/rtc/rtc-pcf85063.c:72:19: warning: unused variable 'pcf85063' Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2016-03-02 11:30 +0100
| From | Juergen Borleis <jbe@pengutronix.de> |
|---|---|
| Date | 2016-03-02 10:50 +0100 |
| Subject | Re: [abelloni:rtc-testing 55/55] drivers/rtc/rtc-pcf85063.c:72:19: warning: unused variable 'pcf85063' |
| Message-ID | <r8bzQ-5NZ-17@gated-at.bofh.it> |
Hi Alexandre, On Tuesday 01 March 2016 23:17:45 kbuild test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux.git > rtc-testing head: 58992ebde059d7faeab4c18bc17713c3b4c31208 > commit: 58992ebde059d7faeab4c18bc17713c3b4c31208 [55/55] rtc: pcf85063: > remove useless century handling config: x86_64-randconfig-x012-201609 > (attached as .config) > reproduce: > git checkout 58992ebde059d7faeab4c18bc17713c3b4c31208 > # save the attached .config to linux build tree > make ARCH=x86_64 > > All warnings (new ones prefixed by >>): > > drivers/rtc/rtc-pcf85063.c: In function 'pcf85063_get_datetime': > >> drivers/rtc/rtc-pcf85063.c:72:19: warning: unused variable 'pcf85063' > >> [-Wunused-variable] > > struct pcf85063 *pcf85063 = i2c_get_clientdata(client); > ^ Due to your removement of the useless century handling the last user of 'struct pcf85063' is gone. Seems we can remove this struct entirely. What do you think? Regards, Juergen -- Pengutronix e.K. | Juergen Borleis | Industrial Linux Solutions | http://www.pengutronix.de/ |
[toc] | [next] | [standalone]
| From | Alexandre Belloni <alexandre.belloni@free-electrons.com> |
|---|---|
| Date | 2016-03-02 11:30 +0100 |
| Subject | Re: [abelloni:rtc-testing 55/55] drivers/rtc/rtc-pcf85063.c:72:19: warning: unused variable 'pcf85063' |
| Message-ID | <r8ccz-6iu-21@gated-at.bofh.it> |
| In reply to | #1347902 |
Hi, On 02/03/2016 at 10:44:29 +0100, Juergen Borleis wrote : > Hi Alexandre, > > On Tuesday 01 March 2016 23:17:45 kbuild test robot wrote: > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux.git > > rtc-testing head: 58992ebde059d7faeab4c18bc17713c3b4c31208 > > commit: 58992ebde059d7faeab4c18bc17713c3b4c31208 [55/55] rtc: pcf85063: > > remove useless century handling config: x86_64-randconfig-x012-201609 > > (attached as .config) > > reproduce: > > git checkout 58992ebde059d7faeab4c18bc17713c3b4c31208 > > # save the attached .config to linux build tree > > make ARCH=x86_64 > > > > All warnings (new ones prefixed by >>): > > > > drivers/rtc/rtc-pcf85063.c: In function 'pcf85063_get_datetime': > > >> drivers/rtc/rtc-pcf85063.c:72:19: warning: unused variable 'pcf85063' > > >> [-Wunused-variable] > > > > struct pcf85063 *pcf85063 = i2c_get_clientdata(client); > > ^ > > Due to your removement of the useless century handling the last user of 'struct > pcf85063' is gone. Seems we can remove this struct entirely. What do you > think? > Sure, that was also my reasoning when fixing that warning. I've sent follow up patches. -- Alexandre Belloni, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web