* [PATCH] arch: s390: Remove duplicate struct ccw1 declaration
@ 2021-03-30 10:56 Wan Jiabing
2021-03-30 18:39 ` Vineeth Vijayan
0 siblings, 1 reply; 2+ messages in thread
From: Wan Jiabing @ 2021-03-30 10:56 UTC (permalink / raw)
To: Heiko Carstens, Vasily Gorbik, Christian Borntraeger,
Vineeth Vijayan, Peter Oberparleiter, Julian Wiedmann,
Alexandra Winter, Wan Jiabing, Mauro Carvalho Chehab, linux-s390,
linux-kernel
Cc: kael_w
struct ccw1 is declared twice. One has been declared
at 21st line. Remove the duplicate.
Signed-off-by: Wan Jiabing <wanjiabing@vivo.com>
---
arch/s390/include/asm/ccwdev.h | 3 ---
1 file changed, 3 deletions(-)
diff --git a/arch/s390/include/asm/ccwdev.h b/arch/s390/include/asm/ccwdev.h
index 778247bb1d61..d4e90f2ba77e 100644
--- a/arch/s390/include/asm/ccwdev.h
+++ b/arch/s390/include/asm/ccwdev.h
@@ -152,9 +152,6 @@ extern struct ccw_device *get_ccwdev_by_busid(struct ccw_driver *cdrv,
* when new devices for its type pop up */
extern int ccw_driver_register (struct ccw_driver *driver);
extern void ccw_driver_unregister (struct ccw_driver *driver);
-
-struct ccw1;
-
extern int ccw_device_set_options_mask(struct ccw_device *, unsigned long);
extern int ccw_device_set_options(struct ccw_device *, unsigned long);
extern void ccw_device_clear_options(struct ccw_device *, unsigned long);
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] arch: s390: Remove duplicate struct ccw1 declaration
2021-03-30 10:56 [PATCH] arch: s390: Remove duplicate struct ccw1 declaration Wan Jiabing
@ 2021-03-30 18:39 ` Vineeth Vijayan
0 siblings, 0 replies; 2+ messages in thread
From: Vineeth Vijayan @ 2021-03-30 18:39 UTC (permalink / raw)
To: Wan Jiabing, Heiko Carstens, Vasily Gorbik, Christian Borntraeger,
Peter Oberparleiter, Julian Wiedmann, Alexandra Winter,
Mauro Carvalho Chehab, linux-s390, linux-kernel
Cc: kael_w
Thank you for the patch.
Acked-by: Vineeth Vijayan <vneethv@linux.ibm.com>
Heiko/Vasily will pick this up and will be part of the s390-tree patchset.
On 3/30/21 12:56 PM, Wan Jiabing wrote:
> struct ccw1 is declared twice. One has been declared
> at 21st line. Remove the duplicate.
>
> Signed-off-by: Wan Jiabing <wanjiabing@vivo.com>
> ---
> arch/s390/include/asm/ccwdev.h | 3 ---
> 1 file changed, 3 deletions(-)
>
> diff --git a/arch/s390/include/asm/ccwdev.h b/arch/s390/include/asm/ccwdev.h
> index 778247bb1d61..d4e90f2ba77e 100644
> --- a/arch/s390/include/asm/ccwdev.h
> +++ b/arch/s390/include/asm/ccwdev.h
> @@ -152,9 +152,6 @@ extern struct ccw_device *get_ccwdev_by_busid(struct ccw_driver *cdrv,
> * when new devices for its type pop up */
> extern int ccw_driver_register (struct ccw_driver *driver);
> extern void ccw_driver_unregister (struct ccw_driver *driver);
> -
> -struct ccw1;
> -
> extern int ccw_device_set_options_mask(struct ccw_device *, unsigned long);
> extern int ccw_device_set_options(struct ccw_device *, unsigned long);
> extern void ccw_device_clear_options(struct ccw_device *, unsigned long);
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-03-30 18:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-30 10:56 [PATCH] arch: s390: Remove duplicate struct ccw1 declaration Wan Jiabing
2021-03-30 18:39 ` Vineeth Vijayan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox