All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kalle Valo <kvalo@codeaurora.org>
To: Krzysztof Kozlowski <krzk@kernel.org>
Cc: Rich Felker <dalias@libc.org>, Jiri Slaby <jirislaby@gmail.com>,
	Geert Uytterhoeven <geert+renesas@glider.be>,
	"Michael S. Tsirkin" <mst@redhat.com>,
	David Airlie <airlied@linux.ie>, Jason Wang <jasowang@redhat.com>,
	dri-devel@lists.freedesktop.org,
	virtualization@lists.linux-foundation.org,
	"James E.J. Bottomley" <James.Bottomley@HansenPartnership.com>,
	netdev@vger.kernel.org, Paul Mackerras <paulus@samba.org>,
	linux-arch@vger.kernel.org, Dave Jiang <dave.jiang@intel.com>,
	Yoshinori Sato <ysato@users.sourceforge.jp>,
	Helge Deller <deller@gmx.de>,
	linux-sh@vger.kernel.org, Alexey Brodkin <abrodkin@synopsys.com>,
	Ben Skeggs <bskeggs@redhat.com>,
	nouveau@lists.freedesktop.org, Dave Airlie <airlied@redhat.com>,
	Matt Turner <mattst88@gmail.com>,
	linux-snps-arc@lists.infradead.org,
	Nick Kossifidis <mickflemm@gmail.com>,
	Allen Hubbe <allenbh@gmail.com>, Arnd Bergmann <arnd@arn>
Subject: Re: [PATCH v2 9/9] net: wireless: ath5k: Constify ioreadX() iomem argument (as in generic implementation)
Date: Fri, 10 Jan 2020 15:33:11 +0200	[thread overview]
Message-ID: <87eew7sag8.fsf@codeaurora.org> (raw)
In-Reply-To: <20200108200528.4614-10-krzk@kernel.org> (Krzysztof Kozlowski's message of "Wed, 8 Jan 2020 21:05:28 +0100")

Krzysztof Kozlowski <krzk@kernel.org> writes:

> The ioreadX() helpers have inconsistent interface.  On some architectures
> void *__iomem address argument is a pointer to const, on some not.
>
> Implementations of ioreadX() do not modify the memory under the address
> so they can be converted to a "const" version for const-safety and
> consistency among architectures.
>
> Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
> ---
>  drivers/net/wireless/ath/ath5k/ahb.c | 10 +++++-----
>  1 file changed, 5 insertions(+), 5 deletions(-)

No need to have "net: wireless: " in the title, otherwise looks good.

Acked-by: Kalle Valo <kvalo@codeaurora.org>

-- 
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches

WARNING: multiple messages have this Message-ID (diff)
From: Kalle Valo <kvalo@codeaurora.org>
To: Krzysztof Kozlowski <krzk@kernel.org>
Cc: Rich Felker <dalias@libc.org>, Jiri Slaby <jirislaby@gmail.com>,
	Geert Uytterhoeven <geert+renesas@glider.be>,
	"Michael S. Tsirkin" <mst@redhat.com>,
	David Airlie <airlied@linux.ie>, Jason Wang <jasowang@redhat.com>,
	dri-devel@lists.freedesktop.org,
	virtualization@lists.linux-foundation.org,
	"James E.J. Bottomley" <James.Bottomley@HansenPartnership.com>,
	netdev@vger.kernel.org, Paul Mackerras <paulus@samba.org>,
	linux-arch@vger.kernel.org, Dave Jiang <dave.jiang@intel.com>,
	Yoshinori Sato <ysato@users.sourceforge.jp>,
	Helge Deller <deller@gmx.de>,
	linux-sh@vger.kernel.org, Alexey Brodkin <abrodkin@synopsys.com>,
	Ben Skeggs <bskeggs@redhat.com>,
	nouveau@lists.freedesktop.org, Dave Airlie <airlied@redhat.com>,
	Matt Turner <mattst88@gmail.com>,
	linux-snps-arc@lists.infradead.org,
	Nick Kossifidis <mickflemm@gmail.com>,
	Allen Hubbe <allenbh@gmail.com>, Arnd Bergmann <arnd@arndb.de>,
	linux-alpha@vger.kernel.org,
	Ivan Kokshaysky <ink@jurassic.park.msu.ru>,
	Thomas Gleixner <tglx@linutronix.de>,
	Mauro Carvalho Chehab <mchehab@kernel.org>,
	Richard Henderson <rth@twiddle.net>,
	linux-parisc@vger.kernel.org, Vineet Gupta <vgupta@synopsys.com>,
	linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org,
	Luis Chamberlain <mcgrof@kernel.org>,
	Daniel Vetter <daniel@ffwll.ch>, Jon Mason <jdmason@kudzu.us>,
	linux-ntb@googlegroups.com, linux-media@vger.kernel.org,
	linuxppc-dev@lists.ozlabs.org,
	"David S. Miller" <davem@davemloft.net>
Subject: Re: [PATCH v2 9/9] net: wireless: ath5k: Constify ioreadX() iomem argument (as in generic implementation)
Date: Fri, 10 Jan 2020 15:33:11 +0200	[thread overview]
Message-ID: <87eew7sag8.fsf@codeaurora.org> (raw)
In-Reply-To: <20200108200528.4614-10-krzk@kernel.org> (Krzysztof Kozlowski's message of "Wed, 8 Jan 2020 21:05:28 +0100")

Krzysztof Kozlowski <krzk@kernel.org> writes:

> The ioreadX() helpers have inconsistent interface.  On some architectures
> void *__iomem address argument is a pointer to const, on some not.
>
> Implementations of ioreadX() do not modify the memory under the address
> so they can be converted to a "const" version for const-safety and
> consistency among architectures.
>
> Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
> ---
>  drivers/net/wireless/ath/ath5k/ahb.c | 10 +++++-----
>  1 file changed, 5 insertions(+), 5 deletions(-)

No need to have "net: wireless: " in the title, otherwise looks good.

Acked-by: Kalle Valo <kvalo@codeaurora.org>

-- 
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches

WARNING: multiple messages have this Message-ID (diff)
From: Kalle Valo <kvalo@codeaurora.org>
To: Krzysztof Kozlowski <krzk@kernel.org>
Cc: Rich Felker <dalias@libc.org>, Jiri Slaby <jirislaby@gmail.com>,
	Geert Uytterhoeven <geert+renesas@glider.be>,
	"Michael S. Tsirkin" <mst@redhat.com>,
	David Airlie <airlied@linux.ie>, Jason Wang <jasowang@redhat.com>,
	dri-devel@lists.freedesktop.org,
	virtualization@lists.linux-foundation.org,
	"James E.J. Bottomley" <James.Bottomley@HansenPartnership.com>,
	netdev@vger.kernel.org, Paul Mackerras <paulus@samba.org>,
	linux-arch@vger.kernel.org, Dave Jiang <dave.jiang@intel.com>,
	Yoshinori Sato <ysato@users.sourceforge.jp>,
	Michael Ellerman <mpe@ellerman.id.au>,
	Helge Deller <deller@gmx.de>,
	linux-sh@vger.kernel.org, Alexey Brodkin <abrodkin@synopsys.com>,
	Ben Skeggs <bskeggs@redhat.com>,
	nouveau@lists.freedesktop.org, Dave Airlie <airlied@redhat.com>,
	Matt Turner <mattst88@gmail.com>,
	linux-snps-arc@lists.infradead.org,
	Nick Kossifidis <mickflemm@gmail.com>,
	Allen Hubbe <allenbh@gmail.com>, Arnd Bergmann <arnd@arndb.de>,
	linux-alpha@vger.kernel.org,
	Ivan Kokshaysky <ink@jurassic.park.msu.ru>,
	Thomas Gleixner <tglx@linutronix.de>,
	Mauro Carvalho Chehab <mchehab@kernel.org>,
	Richard Henderson <rth@twiddle.net>,
	linux-parisc@vger.kernel.org, Vineet Gupta <vgupta@synopsys.com>,
	linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org,
	Luis Chamberlain <mcgrof@kernel.org>,
	Jon Mason <jdmason@kudzu.us>,
	linux-ntb@googlegroups.com, linux-media@vger.kernel.org,
	linuxppc-dev@lists.ozlabs.org,
	"David S. Miller" <davem@davemloft.net>
Subject: Re: [PATCH v2 9/9] net: wireless: ath5k: Constify ioreadX() iomem argument (as in generic implementation)
Date: Fri, 10 Jan 2020 15:33:11 +0200	[thread overview]
Message-ID: <87eew7sag8.fsf@codeaurora.org> (raw)
In-Reply-To: <20200108200528.4614-10-krzk@kernel.org> (Krzysztof Kozlowski's message of "Wed, 8 Jan 2020 21:05:28 +0100")

Krzysztof Kozlowski <krzk@kernel.org> writes:

> The ioreadX() helpers have inconsistent interface.  On some architectures
> void *__iomem address argument is a pointer to const, on some not.
>
> Implementations of ioreadX() do not modify the memory under the address
> so they can be converted to a "const" version for const-safety and
> consistency among architectures.
>
> Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
> ---
>  drivers/net/wireless/ath/ath5k/ahb.c | 10 +++++-----
>  1 file changed, 5 insertions(+), 5 deletions(-)

No need to have "net: wireless: " in the title, otherwise looks good.

Acked-by: Kalle Valo <kvalo@codeaurora.org>

-- 
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

WARNING: multiple messages have this Message-ID (diff)
From: Kalle Valo <kvalo@codeaurora.org>
To: Krzysztof Kozlowski <krzk@kernel.org>
Cc: Richard Henderson <rth@twiddle.net>,
	Ivan Kokshaysky <ink@jurassic.park.msu.ru>,
	Matt Turner <mattst88@gmail.com>,
	Alexey Brodkin <abrodkin@synopsys.com>,
	Vineet Gupta <vgupta@synopsys.com>,
	"James E.J. Bottomley" <James.Bottomley@HansenPartnership.com>,
	Helge Deller <deller@gmx.de>,
	Benjamin Herrenschmidt <benh@kernel.crashing.org>,
	Paul Mackerras <paulus@samba.org>,
	Michael Ellerman <mpe@ellerman.id.au>,
	Yoshinori Sato <ysato@users.sourceforge.jp>,
	Rich Felker <dalias@libc.org>, Dave Airlie <airlied@redhat.com>,
	David Airlie <airlied@linux.ie>, Daniel Vetter <daniel@ffwll.ch>,
	Ben Skeggs <bskeggs@redhat.com>,
	Mauro Carvalho Chehab <mchehab@kernel.org>,
	Jiri Slaby <jirislaby@gmail.com>,
	Nick Kossifidis <mickflemm@gmail.com>,
	Luis Chamberlain <mcgrof@kernel.org>,
	"David S. Miller" <davem@davemloft.net>,
	Dave Jiang <dave.jiang@intel.com>, Jon Mason <jdmason@kudzu.us>,
	Allen Hubbe <allenbh@gmail.com>,
	"Michael S. Tsirkin" <mst@redhat.com>,
	Jason Wang <jasow ang@redhat.com>, Arnd Bergmann <arnd@arndb.de>,
	Geert Uytterhoeven <geert+renesas@glider.be>,
	Thomas Gleixner <tglx@linutronix.de>,
	linux-alpha@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-snps-arc@lists.infradead.org, linux-parisc@vger.kernel.org,
	linuxppc-dev@lists.ozlabs.org, linux-sh@vger.kernel.org,
	dri-devel@lists.freedesktop.org, nouveau@lists.freedesktop.org,
	linux-media@vger.kernel.org, linux-wireless@vger.kernel.org,
	netdev@vger.kernel.org, linux-ntb@googlegroups.com,
	virtualization@lists.linux-foundation.org,
	linux-arch@vger.kernel.org
Subject: Re: [PATCH v2 9/9] net: wireless: ath5k: Constify ioreadX() iomem argument (as in generic implementation)
Date: Fri, 10 Jan 2020 15:33:11 +0200	[thread overview]
Message-ID: <87eew7sag8.fsf@codeaurora.org> (raw)
In-Reply-To: <20200108200528.4614-10-krzk@kernel.org> (Krzysztof Kozlowski's message of "Wed, 8 Jan 2020 21:05:28 +0100")

Krzysztof Kozlowski <krzk@kernel.org> writes:

> The ioreadX() helpers have inconsistent interface.  On some architectures
> void *__iomem address argument is a pointer to const, on some not.
>
> Implementations of ioreadX() do not modify the memory under the address
> so they can be converted to a "const" version for const-safety and
> consistency among architectures.
>
> Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
> ---
>  drivers/net/wireless/ath/ath5k/ahb.c | 10 +++++-----
>  1 file changed, 5 insertions(+), 5 deletions(-)

No need to have "net: wireless: " in the title, otherwise looks good.

Acked-by: Kalle Valo <kvalo@codeaurora.org>

-- 
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches

  reply	other threads:[~2020-01-10 13:33 UTC|newest]

Thread overview: 110+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-08 20:05 [PATCH v2 0/9] iomap: Constify ioreadX() iomem argument Krzysztof Kozlowski
2020-01-08 20:05 ` Krzysztof Kozlowski
2020-01-08 20:05 ` Krzysztof Kozlowski
2020-01-08 20:05 ` Krzysztof Kozlowski
2020-01-08 20:05 ` [PATCH v2 1/9] iomap: Constify ioreadX() iomem argument (as in generic implementation) Krzysztof Kozlowski
2020-01-08 20:05 ` Krzysztof Kozlowski
2020-01-08 20:05   ` Krzysztof Kozlowski
2020-01-08 20:05   ` Krzysztof Kozlowski
2020-01-08 20:05   ` Krzysztof Kozlowski
2020-01-08 20:53   ` Arnd Bergmann
2020-01-08 20:53   ` Arnd Bergmann
2020-01-08 20:53     ` Arnd Bergmann
2020-01-08 20:53     ` Arnd Bergmann
2020-01-08 20:53     ` Arnd Bergmann
2020-01-08 20:53     ` Arnd Bergmann
2020-01-09 12:00   ` Geert Uytterhoeven
2020-01-09 12:00   ` Geert Uytterhoeven
2020-01-09 12:00     ` Geert Uytterhoeven
2020-01-09 12:00     ` Geert Uytterhoeven
2020-01-09 12:00     ` Geert Uytterhoeven
2020-01-09 12:00     ` Geert Uytterhoeven
2020-01-08 20:05 ` [PATCH v2 2/9] net: wireless: rtl818x: Constify ioreadX() iomem argument (as in generic implementati Krzysztof Kozlowski
2020-01-08 20:05   ` [PATCH v2 2/9] net: wireless: rtl818x: Constify ioreadX() iomem argument (as in generic implementation) Krzysztof Kozlowski
2020-01-08 20:05   ` Krzysztof Kozlowski
2020-01-08 20:05   ` Krzysztof Kozlowski
2020-01-10 13:32   ` Kalle Valo
2020-01-10 13:32     ` Kalle Valo
2020-01-10 13:32     ` Kalle Valo
2020-01-10 13:32     ` Kalle Valo
2020-01-26 15:11   ` Kalle Valo
2020-01-26 15:11     ` Kalle Valo
2020-01-26 15:11     ` Kalle Valo
2020-01-26 15:11   ` Kalle Valo
2020-01-26 15:11     ` Kalle Valo
2020-01-26 15:11     ` Kalle Valo
2020-01-26 15:11   ` [PATCH v2 2/9] net: wireless: rtl818x: Constify ioreadX() iomem argument (as in generic implemen Kalle Valo
2020-01-26 15:11     ` [PATCH v2 2/9] net: wireless: rtl818x: Constify ioreadX() iomem argument (as in generic implementation) Kalle Valo
2020-01-26 15:11     ` Kalle Valo
2020-01-26 15:11     ` Kalle Valo
2020-01-26 15:11   ` Kalle Valo
2020-01-26 15:11   ` Kalle Valo
2020-01-08 20:05 ` Krzysztof Kozlowski
     [not found] ` <20200108200528.4614-1-krzk-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2020-01-08 20:05   ` [PATCH v2 1/9] iomap: " Krzysztof Kozlowski
2020-01-08 20:05   ` [PATCH v2 2/9] net: wireless: rtl818x: " Krzysztof Kozlowski
2020-01-08 20:05   ` [PATCH v2 3/9] ntb: intel: " Krzysztof Kozlowski
2020-01-08 20:05   ` [PATCH v2 4/9] virtio: pci: " Krzysztof Kozlowski
2020-01-08 20:05   ` [PATCH v2 5/9] arc: " Krzysztof Kozlowski
2020-01-08 20:05   ` [PATCH v2 6/9] drm/mgag200: " Krzysztof Kozlowski
2020-01-08 20:05   ` [PATCH v2 7/9] drm/nouveau: " Krzysztof Kozlowski
2020-01-08 20:05   ` [PATCH v2 8/9] media: fsl-viu: " Krzysztof Kozlowski
2020-01-08 20:05   ` [PATCH v2 9/9] net: wireless: ath5k: " Krzysztof Kozlowski
2020-01-08 20:05 ` [PATCH v2 3/9] ntb: intel: " Krzysztof Kozlowski
2020-01-08 20:05   ` Krzysztof Kozlowski
2020-01-08 20:05   ` Krzysztof Kozlowski
2020-01-08 20:05   ` Krzysztof Kozlowski
     [not found]   ` <20200108200528.4614-4-krzk-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2020-01-08 20:29     ` Dave Jiang
2020-01-08 20:29   ` Dave Jiang
2020-01-08 20:29     ` Dave Jiang
2020-01-08 20:29     ` Dave Jiang
2020-01-08 20:29     ` Dave Jiang
2020-01-08 20:05 ` Krzysztof Kozlowski
2020-01-08 20:05 ` [PATCH v2 4/9] virtio: pci: " Krzysztof Kozlowski
2020-01-08 20:05 ` Krzysztof Kozlowski
2020-01-08 20:05   ` Krzysztof Kozlowski
2020-01-08 20:05   ` Krzysztof Kozlowski
2020-01-08 20:05   ` Krzysztof Kozlowski
2020-01-08 20:05 ` [PATCH v2 5/9] arc: " Krzysztof Kozlowski
2020-01-08 20:05   ` Krzysztof Kozlowski
2020-01-08 20:05   ` Krzysztof Kozlowski
2020-01-08 20:05   ` Krzysztof Kozlowski
2020-01-09  6:59   ` Alexey Brodkin
2020-01-09  6:59     ` Alexey Brodkin
2020-01-09  6:59     ` Alexey Brodkin
2020-01-09  6:59     ` Alexey Brodkin
2020-01-09  6:59     ` Alexey Brodkin
2020-01-08 20:05 ` Krzysztof Kozlowski
2020-01-08 20:05 ` [PATCH v2 6/9] drm/mgag200: " Krzysztof Kozlowski
2020-01-08 20:05   ` Krzysztof Kozlowski
2020-01-08 20:05   ` Krzysztof Kozlowski
2020-01-08 20:05   ` Krzysztof Kozlowski
     [not found]   ` <20200108200528.4614-7-krzk-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2020-01-09  6:04     ` Thomas Zimmermann
2020-01-09  6:04   ` Thomas Zimmermann
2020-01-09  6:04   ` Thomas Zimmermann
2020-01-09  6:04     ` Thomas Zimmermann
2020-01-09  6:04     ` Thomas Zimmermann
2020-01-09  6:04     ` Thomas Zimmermann
2020-01-09  6:04   ` Thomas Zimmermann
2020-01-08 20:05 ` Krzysztof Kozlowski
2020-01-08 20:05 ` Krzysztof Kozlowski
2020-01-08 20:05 ` [PATCH v2 7/9] drm/nouveau: " Krzysztof Kozlowski
2020-01-08 20:05   ` Krzysztof Kozlowski
2020-01-08 20:05   ` Krzysztof Kozlowski
2020-01-08 20:05   ` Krzysztof Kozlowski
2020-01-08 20:05 ` Krzysztof Kozlowski
2020-01-08 20:05 ` Krzysztof Kozlowski
2020-01-08 20:05 ` [PATCH v2 8/9] media: fsl-viu: " Krzysztof Kozlowski
2020-01-08 20:05 ` Krzysztof Kozlowski
2020-01-08 20:05 ` Krzysztof Kozlowski
2020-01-08 20:05   ` Krzysztof Kozlowski
2020-01-08 20:05   ` Krzysztof Kozlowski
2020-01-08 20:05   ` Krzysztof Kozlowski
2020-01-08 20:05 ` [PATCH v2 9/9] net: wireless: ath5k: " Krzysztof Kozlowski
2020-01-08 20:05 ` [PATCH v2 9/9] net: wireless: ath5k: Constify ioreadX() iomem argument (as in generic implementation Krzysztof Kozlowski
2020-01-08 20:05   ` [PATCH v2 9/9] net: wireless: ath5k: Constify ioreadX() iomem argument (as in generic implementation) Krzysztof Kozlowski
2020-01-08 20:05   ` Krzysztof Kozlowski
2020-01-08 20:05   ` Krzysztof Kozlowski
2020-01-10 13:33   ` Kalle Valo [this message]
2020-01-10 13:33     ` Kalle Valo
2020-01-10 13:33     ` Kalle Valo
2020-01-10 13:33     ` Kalle Valo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87eew7sag8.fsf@codeaurora.org \
    --to=kvalo@codeaurora.org \
    --cc=James.Bottomley@HansenPartnership.com \
    --cc=abrodkin@synopsys.com \
    --cc=airlied@linux.ie \
    --cc=airlied@redhat.com \
    --cc=allenbh@gmail.com \
    --cc=arnd@arn \
    --cc=bskeggs@redhat.com \
    --cc=dalias@libc.org \
    --cc=dave.jiang@intel.com \
    --cc=deller@gmx.de \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=geert+renesas@glider.be \
    --cc=jasowang@redhat.com \
    --cc=jirislaby@gmail.com \
    --cc=krzk@kernel.org \
    --cc=linux-arch@vger.kernel.org \
    --cc=linux-sh@vger.kernel.org \
    --cc=linux-snps-arc@lists.infradead.org \
    --cc=mattst88@gmail.com \
    --cc=mickflemm@gmail.com \
    --cc=mst@redhat.com \
    --cc=netdev@vger.kernel.org \
    --cc=nouveau@lists.freedesktop.org \
    --cc=paulus@samba.org \
    --cc=virtualization@lists.linux-foundation.org \
    --cc=ysato@users.sourceforge.jp \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.