* [PATCH 5/6] drivers/i2c: Remove caller signal_pending branch predictions
[not found] <20181116002713.8474-1-dave@stgolabs.net>
@ 2018-11-16 0:27 ` Davidlohr Bueso
2018-11-27 12:01 ` [5/6] " Wolfram Sang
0 siblings, 1 reply; 2+ messages in thread
From: Davidlohr Bueso @ 2018-11-16 0:27 UTC (permalink / raw)
To: akpm; +Cc: dave, linux-kernel, linux-i2c, peda
This is already done for us internally by the signal machinery.
Cc: linux-i2c@vger.kernel.org
Cc: peda@axentia.se
Signed-off-by: Davidlohr Bueso <dave@stgolabs.net>
---
drivers/i2c/busses/i2c-ibm_iic.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/i2c/busses/i2c-ibm_iic.c b/drivers/i2c/busses/i2c-ibm_iic.c
index 6f6e1dfe7cce..d78023d42a35 100644
--- a/drivers/i2c/busses/i2c-ibm_iic.c
+++ b/drivers/i2c/busses/i2c-ibm_iic.c
@@ -437,7 +437,7 @@ static int iic_wait_for_tc(struct ibm_iic_private* dev){
break;
}
- if (unlikely(signal_pending(current))){
+ if (signal_pending(current)){
DBG("%d: poll interrupted\n", dev->idx);
ret = -ERESTARTSYS;
break;
--
2.16.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [5/6] drivers/i2c: Remove caller signal_pending branch predictions
2018-11-16 0:27 ` [PATCH 5/6] drivers/i2c: Remove caller signal_pending branch predictions Davidlohr Bueso
@ 2018-11-27 12:01 ` Wolfram Sang
0 siblings, 0 replies; 2+ messages in thread
From: Wolfram Sang @ 2018-11-27 12:01 UTC (permalink / raw)
To: Davidlohr Bueso; +Cc: akpm, linux-kernel, linux-i2c, peda
[-- Attachment #1: Type: text/plain, Size: 365 bytes --]
On Thu, Nov 15, 2018 at 04:27:12PM -0800, Davidlohr Bueso wrote:
> This is already done for us internally by the signal machinery.
>
> Cc: linux-i2c@vger.kernel.org
> Cc: peda@axentia.se
> Signed-off-by: Davidlohr Bueso <dave@stgolabs.net>
Applied to for-next, thanks!
Would have been nice if the cover letter was also sent to the
i2c-mailing list.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-11-27 12:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20181116002713.8474-1-dave@stgolabs.net>
2018-11-16 0:27 ` [PATCH 5/6] drivers/i2c: Remove caller signal_pending branch predictions Davidlohr Bueso
2018-11-27 12:01 ` [5/6] " Wolfram Sang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox