Patch "net: pse-pd: tps23881: include missing bitfield.h header" has been added to the 6.10-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    net: pse-pd: tps23881: include missing bitfield.h header

to the 6.10-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     net-pse-pd-tps23881-include-missing-bitfield.h-heade.patch
and it can be found in the queue-6.10 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 05c3d118aef4464fad29d0171d84e21b2b3e6dbe
Author: Arnd Bergmann <arnd@xxxxxxxx>
Date:   Wed Aug 7 09:54:22 2024 +0200

    net: pse-pd: tps23881: include missing bitfield.h header
    
    [ Upstream commit a70b637db15b4de25af3c5946c4399144b3bc241 ]
    
    Using FIELD_GET() fails in configurations that don't already include
    the header file indirectly:
    
    drivers/net/pse-pd/tps23881.c: In function 'tps23881_i2c_probe':
    drivers/net/pse-pd/tps23881.c:755:13: error: implicit declaration of function 'FIELD_GET' [-Wimplicit-function-declaration]
      755 |         if (FIELD_GET(TPS23881_REG_DEVID_MASK, ret) != TPS23881_DEVICE_ID) {
          |             ^~~~~~~~~
    
    Fixes: 89108cb5c285 ("net: pse-pd: tps23881: Fix the device ID check")
    Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>
    Acked-by: Oleksij Rempel <o.rempel@xxxxxxxxxxxxxx>
    Link: https://patch.msgid.link/20240807075455.2055224-1-arnd@xxxxxxxxxx
    Signed-off-by: Jakub Kicinski <kuba@xxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/net/pse-pd/tps23881.c b/drivers/net/pse-pd/tps23881.c
index e95109c1130dc..2d1c2e5706f8b 100644
--- a/drivers/net/pse-pd/tps23881.c
+++ b/drivers/net/pse-pd/tps23881.c
@@ -5,6 +5,7 @@
  * Copyright (c) 2023 Bootlin, Kory Maincent <kory.maincent@xxxxxxxxxxx>
  */
 
+#include <linux/bitfield.h>
 #include <linux/delay.h>
 #include <linux/firmware.h>
 #include <linux/i2c.h>




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux