# git rev-parse -q --verify e1706720408e72fb883f6b151c2b3b23d8e7e5b2^{commit} e1706720408e72fb883f6b151c2b3b23d8e7e5b2 already have revision, skipping fetch # git checkout -q -f -B kisskb e1706720408e72fb883f6b151c2b3b23d8e7e5b2 # git clean -qxdf # < git log -1 # commit e1706720408e72fb883f6b151c2b3b23d8e7e5b2 # Author: John Hubbard # Date: Sat Jan 12 17:29:09 2019 -0800 # # phy: fix build breakage: add PHY_MODE_SATA # # Commit 49e54187ae0b ("ata: libahci_platform: comply to PHY framework") uses # the PHY_MODE_SATA, but that enum had not yet been added. This caused a # build failure for me, with today's linux.git. # # Also, there is a potentially conflicting (mis-named) PHY_MODE_SATA, hiding # in the Marvell Berlin SATA PHY driver. # # Fix the build by: # # 1) Renaming Marvell's defined value to a more scoped name, # in order to avoid any potential conflicts: PHY_BERLIN_MODE_SATA. # # 2) Adding the missing enum, which was going to be added anyway as part # of [1]. # # [1] https://lkml.kernel.org/r/20190108163124.6409-3-miquel.raynal@bootlin.com # # Fixes: 49e54187ae0b ("ata: libahci_platform: comply to PHY framework") # # Signed-off-by: John Hubbard # Acked-by: Jens Axboe # Acked-by: Olof Johansson # Cc: Grzegorz Jaszczyk # Cc: Miquel Raynal # Cc: Hans de Goede # Signed-off-by: Linus Torvalds # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/hppa64-linux/bin/hppa64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/hppa64-linux/bin/hppa64-linux-ld --version # < git log --format=%s --max-count=1 e1706720408e72fb883f6b151c2b3b23d8e7e5b2 # < make -s -j 48 ARCH=parisc O=/kisskb/build/linus_a500_defconfig_parisc64 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/hppa64-linux/bin/hppa64-linux- a500_defconfig # make -s -j 48 ARCH=parisc O=/kisskb/build/linus_a500_defconfig_parisc64 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/hppa64-linux/bin/hppa64-linux- :1336:2: warning: #warning syscall rseq not implemented [-Wcpp] In file included from /kisskb/src/arch/parisc/include/asm/atomic.h:10, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/arch/parisc/include/asm/bitops.h:13, from /kisskb/src/include/linux/bitops.h:19, from /kisskb/src/include/linux/kernel.h:11, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/module.h:9, from /kisskb/src/drivers/scsi/scsi_debug.c:23: /kisskb/src/drivers/scsi/scsi_debug.c: In function 'resp_start_stop': /kisskb/src/arch/parisc/include/asm/cmpxchg.h:48:3: warning: value computed is not used [-Wunused-value] ((__typeof__(*(ptr)))__xchg((unsigned long)(x), (ptr), sizeof(*(ptr)))) /kisskb/src/arch/parisc/include/asm/atomic.h:78:30: note: in expansion of macro 'xchg' #define atomic_xchg(v, new) (xchg(&((v)->counter), new)) ^~~~ /kisskb/src/drivers/scsi/scsi_debug.c:1624:2: note: in expansion of macro 'atomic_xchg' atomic_xchg(&devip->stopped, stop); ^~~~~~~~~~~ Completed OK # rm -rf /kisskb/build/linus_a500_defconfig_parisc64 # Build took: 0:01:10.540995