* [Intel-wired-lan] [jkirsher-next-queue:dev-queue 32/134] drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c:129:12: warning: 'ixgbe_get_cs4227_status' defined but not used
@ 2015-09-29 6:20 kbuild test robot
2015-09-29 16:29 ` Rustad, Mark D
0 siblings, 1 reply; 4+ messages in thread
From: kbuild test robot @ 2015-09-29 6:20 UTC (permalink / raw)
To: intel-wired-lan
tree: https://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/next-queue.git dev-queue
head: c92a893286c9df9eccaa72cb355a78e2de47f006
commit: 06add52056ace8ff659f6f442488bb46f83736a8 [32/134] ixgbe: Remove CS4227 diagnostic code
config: powerpc-defconfig (attached as .config)
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 06add52056ace8ff659f6f442488bb46f83736a8
# save the attached .config to linux build tree
make.cross ARCH=powerpc
All warnings (new ones prefixed by >>):
>> drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c:129:12: warning: 'ixgbe_get_cs4227_status' defined but not used [-Wunused-function]
static s32 ixgbe_get_cs4227_status(struct ixgbe_hw *hw)
^
vim +/ixgbe_get_cs4227_status +129 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c
542b6eec Mark Rustad 2015-08-08 113 if (reg_val) {
542b6eec Mark Rustad 2015-08-08 114 hw_err(hw, "CS4227 reg 0x%04X failed diagnostic\n", reg);
542b6eec Mark Rustad 2015-08-08 115 return status;
542b6eec Mark Rustad 2015-08-08 116 }
542b6eec Mark Rustad 2015-08-08 117
542b6eec Mark Rustad 2015-08-08 118 return 0;
542b6eec Mark Rustad 2015-08-08 119 }
542b6eec Mark Rustad 2015-08-08 120
542b6eec Mark Rustad 2015-08-08 121 /**
542b6eec Mark Rustad 2015-08-08 122 * ixgbe_get_cs4227_status - Return CS4227 status
542b6eec Mark Rustad 2015-08-08 123 * @hw: pointer to hardware structure
542b6eec Mark Rustad 2015-08-08 124 *
542b6eec Mark Rustad 2015-08-08 125 * Performs a diagnostic on the CS4227 chip. Returns an error if it is
542b6eec Mark Rustad 2015-08-08 126 * not operating correctly.
542b6eec Mark Rustad 2015-08-08 127 * This function assumes that the caller has acquired the proper semaphore.
542b6eec Mark Rustad 2015-08-08 128 */
542b6eec Mark Rustad 2015-08-08 @129 static s32 ixgbe_get_cs4227_status(struct ixgbe_hw *hw)
542b6eec Mark Rustad 2015-08-08 130 {
542b6eec Mark Rustad 2015-08-08 131 s32 status;
542b6eec Mark Rustad 2015-08-08 132 u16 value = 0;
542b6eec Mark Rustad 2015-08-08 133
542b6eec Mark Rustad 2015-08-08 134 /* Exit if the diagnostic has already been performed. */
542b6eec Mark Rustad 2015-08-08 135 status = ixgbe_read_cs4227(hw, IXGBE_CS4227_SCRATCH, &value);
542b6eec Mark Rustad 2015-08-08 136 if (status)
542b6eec Mark Rustad 2015-08-08 137 return status;
:::::: The code at line 129 was first introduced by commit
:::::: 542b6eecf4c3640f15a84ff89525131d421e7c8c ixgbe: Add logic to reset CS4227 when needed
:::::: TO: Mark Rustad <mark.d.rustad@intel.com>
:::::: CC: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/octet-stream
Size: 21511 bytes
Desc: not available
URL: <http://lists.osuosl.org/pipermail/intel-wired-lan/attachments/20150929/d82fa358/attachment-0001.obj>
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Intel-wired-lan] [jkirsher-next-queue:dev-queue 32/134] drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c:129:12: warning: 'ixgbe_get_cs4227_status' defined but not used
2015-09-29 6:20 [Intel-wired-lan] [jkirsher-next-queue:dev-queue 32/134] drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c:129:12: warning: 'ixgbe_get_cs4227_status' defined but not used kbuild test robot
@ 2015-09-29 16:29 ` Rustad, Mark D
2015-09-29 17:08 ` Rustad, Mark D
0 siblings, 1 reply; 4+ messages in thread
From: Rustad, Mark D @ 2015-09-29 16:29 UTC (permalink / raw)
To: intel-wired-lan
> On Sep 28, 2015, at 11:20 PM, Wu, Fengguang <fengguang.wu@intel.com> wrote:
>
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/next-queue.git dev-queue
> head: c92a893286c9df9eccaa72cb355a78e2de47f006
> commit: 06add52056ace8ff659f6f442488bb46f83736a8 [32/134] ixgbe: Remove CS4227 diagnostic code
> config: powerpc-defconfig (attached as .config)
> reproduce:
> wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
> chmod +x ~/bin/make.cross
> git checkout 06add52056ace8ff659f6f442488bb46f83736a8
> # save the attached .config to linux build tree
> make.cross ARCH=powerpc
>
> All warnings (new ones prefixed by >>):
>
>>> drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c:129:12: warning: 'ixgbe_get_cs4227_status' defined but not used [-Wunused-function]
> static s32 ixgbe_get_cs4227_status(struct ixgbe_hw *hw)
> ^
In my repo this code is deleted by the patch "ixgbe: Remove CS4227 diagnostic code". It almost seems like part of that patch got dropped or something.
--
Mark Rustad, Networking Division, Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.osuosl.org/pipermail/intel-wired-lan/attachments/20150929/021cdad5/attachment.asc>
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Intel-wired-lan] [jkirsher-next-queue:dev-queue 32/134] drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c:129:12: warning: 'ixgbe_get_cs4227_status' defined but not used
2015-09-29 16:29 ` Rustad, Mark D
@ 2015-09-29 17:08 ` Rustad, Mark D
2015-09-30 20:50 ` Jeff Kirsher
0 siblings, 1 reply; 4+ messages in thread
From: Rustad, Mark D @ 2015-09-29 17:08 UTC (permalink / raw)
To: intel-wired-lan
> On Sep 29, 2015, at 9:29 AM, Rustad, Mark D <mark.d.rustad@intel.com> wrote:
>
> In my repo this code is deleted by the patch "ixgbe: Remove CS4227 diagnostic code". It almost seems like part of that patch got dropped or something.
Yes. Most of the patch got lost. How did this happen?
--
Mark Rustad, Networking Division, Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.osuosl.org/pipermail/intel-wired-lan/attachments/20150929/266ed310/attachment.asc>
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Intel-wired-lan] [jkirsher-next-queue:dev-queue 32/134] drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c:129:12: warning: 'ixgbe_get_cs4227_status' defined but not used
2015-09-29 17:08 ` Rustad, Mark D
@ 2015-09-30 20:50 ` Jeff Kirsher
0 siblings, 0 replies; 4+ messages in thread
From: Jeff Kirsher @ 2015-09-30 20:50 UTC (permalink / raw)
To: intel-wired-lan
On Tue, 2015-09-29 at 10:08 -0700, Rustad, Mark D wrote:
> > On Sep 29, 2015, at 9:29 AM, Rustad, Mark D <
> mark.d.rustad at intel.com> wrote:
> >
> > In my repo this code is deleted by the patch "ixgbe: Remove CS4227
> diagnostic code". It almost seems like part of that patch got dropped
> or something.
>
> Yes. Most of the patch got lost. How did this happen?
It was most likely due to a merge issue, most likely due to those
function header changes we spoke about earlier.
If your latest patch has everything it supposed to, I can try re
-applying your patch. If I have issues, I will have you re-generate
your patch based on my next-queue tree.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.osuosl.org/pipermail/intel-wired-lan/attachments/20150930/7973055e/attachment.asc>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-09-30 20:50 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-29 6:20 [Intel-wired-lan] [jkirsher-next-queue:dev-queue 32/134] drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c:129:12: warning: 'ixgbe_get_cs4227_status' defined but not used kbuild test robot
2015-09-29 16:29 ` Rustad, Mark D
2015-09-29 17:08 ` Rustad, Mark D
2015-09-30 20:50 ` Jeff Kirsher
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.