All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] cpu/speculation: Add prototype for cpu_show_srbds
@ 2020-06-17 14:14 Guenter Roeck
  2020-06-17 15:48 ` [tip: x86/cleanups] cpu/speculation: Add prototype for cpu_show_srbds() tip-bot2 for Guenter Roeck
  2020-06-22 19:08 ` [PATCH] cpu/speculation: Add prototype for cpu_show_srbds mark gross
  0 siblings, 2 replies; 3+ messages in thread
From: Guenter Roeck @ 2020-06-17 14:14 UTC (permalink / raw)
  To: Thomas Gleixner
  Cc: linux-kernel, Borislav Petkov, Mark Gross, Josh Poimboeuf, Guenter Roeck

0-day is not happy that there is no prototype for cpu_show_srbds().

drivers/base/cpu.c:565:16: error:
		no previous prototype for 'cpu_show_srbds'

Reported-by: kernel test robot <lkp@intel.com>
Fixes: 7e5b3c267d25 ("x86/speculation: Add Special Register Buffer Data Sampling (SRBDS) mitigation")
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
---
 include/linux/cpu.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/linux/cpu.h b/include/linux/cpu.h
index 52692587f7fe..8aa84c052fdf 100644
--- a/include/linux/cpu.h
+++ b/include/linux/cpu.h
@@ -64,6 +64,7 @@ extern ssize_t cpu_show_tsx_async_abort(struct device *dev,
 					char *buf);
 extern ssize_t cpu_show_itlb_multihit(struct device *dev,
 				      struct device_attribute *attr, char *buf);
+extern ssize_t cpu_show_srbds(struct device *dev, struct device_attribute *attr, char *buf);
 
 extern __printf(4, 5)
 struct device *cpu_device_create(struct device *parent, void *drvdata,
-- 
2.17.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [tip: x86/cleanups] cpu/speculation: Add prototype for cpu_show_srbds()
  2020-06-17 14:14 [PATCH] cpu/speculation: Add prototype for cpu_show_srbds Guenter Roeck
@ 2020-06-17 15:48 ` tip-bot2 for Guenter Roeck
  2020-06-22 19:08 ` [PATCH] cpu/speculation: Add prototype for cpu_show_srbds mark gross
  1 sibling, 0 replies; 3+ messages in thread
From: tip-bot2 for Guenter Roeck @ 2020-06-17 15:48 UTC (permalink / raw)
  To: linux-tip-commits
  Cc: kernel test robot, Guenter Roeck, Borislav Petkov, x86, LKML

The following commit has been merged into the x86/cleanups branch of tip:

Commit-ID:     2accfa69050c2a0d6fc6106f609208b3e9622b26
Gitweb:        https://git.kernel.org/tip/2accfa69050c2a0d6fc6106f609208b3e9622b26
Author:        Guenter Roeck <linux@roeck-us.net>
AuthorDate:    Wed, 17 Jun 2020 07:14:10 -07:00
Committer:     Borislav Petkov <bp@suse.de>
CommitterDate: Wed, 17 Jun 2020 17:28:08 +02:00

cpu/speculation: Add prototype for cpu_show_srbds()

0-day is not happy that there is no prototype for cpu_show_srbds():

  drivers/base/cpu.c:565:16: error: no previous prototype for 'cpu_show_srbds'

Fixes: 7e5b3c267d25 ("x86/speculation: Add Special Register Buffer Data Sampling (SRBDS) mitigation")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/20200617141410.93338-1-linux@roeck-us.net
---
 include/linux/cpu.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/linux/cpu.h b/include/linux/cpu.h
index 5269258..8aa84c0 100644
--- a/include/linux/cpu.h
+++ b/include/linux/cpu.h
@@ -64,6 +64,7 @@ extern ssize_t cpu_show_tsx_async_abort(struct device *dev,
 					char *buf);
 extern ssize_t cpu_show_itlb_multihit(struct device *dev,
 				      struct device_attribute *attr, char *buf);
+extern ssize_t cpu_show_srbds(struct device *dev, struct device_attribute *attr, char *buf);
 
 extern __printf(4, 5)
 struct device *cpu_device_create(struct device *parent, void *drvdata,

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] cpu/speculation: Add prototype for cpu_show_srbds
  2020-06-17 14:14 [PATCH] cpu/speculation: Add prototype for cpu_show_srbds Guenter Roeck
  2020-06-17 15:48 ` [tip: x86/cleanups] cpu/speculation: Add prototype for cpu_show_srbds() tip-bot2 for Guenter Roeck
@ 2020-06-22 19:08 ` mark gross
  1 sibling, 0 replies; 3+ messages in thread
From: mark gross @ 2020-06-22 19:08 UTC (permalink / raw)
  To: Guenter Roeck
  Cc: Thomas Gleixner, linux-kernel, Borislav Petkov, Josh Poimboeuf

ack
Reviewed-by: mark gross <mgross@linux.intel.com>

--mark


On Wed, Jun 17, 2020 at 07:14:10AM -0700, Guenter Roeck wrote:
> 0-day is not happy that there is no prototype for cpu_show_srbds().
> 
> drivers/base/cpu.c:565:16: error:
> 		no previous prototype for 'cpu_show_srbds'
> 
> Reported-by: kernel test robot <lkp@intel.com>
> Fixes: 7e5b3c267d25 ("x86/speculation: Add Special Register Buffer Data Sampling (SRBDS) mitigation")
> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
> ---
>  include/linux/cpu.h | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/include/linux/cpu.h b/include/linux/cpu.h
> index 52692587f7fe..8aa84c052fdf 100644
> --- a/include/linux/cpu.h
> +++ b/include/linux/cpu.h
> @@ -64,6 +64,7 @@ extern ssize_t cpu_show_tsx_async_abort(struct device *dev,
>  					char *buf);
>  extern ssize_t cpu_show_itlb_multihit(struct device *dev,
>  				      struct device_attribute *attr, char *buf);
> +extern ssize_t cpu_show_srbds(struct device *dev, struct device_attribute *attr, char *buf);
>  
>  extern __printf(4, 5)
>  struct device *cpu_device_create(struct device *parent, void *drvdata,
> -- 
> 2.17.1
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-06-22 19:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-17 14:14 [PATCH] cpu/speculation: Add prototype for cpu_show_srbds Guenter Roeck
2020-06-17 15:48 ` [tip: x86/cleanups] cpu/speculation: Add prototype for cpu_show_srbds() tip-bot2 for Guenter Roeck
2020-06-22 19:08 ` [PATCH] cpu/speculation: Add prototype for cpu_show_srbds mark gross

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.