Merge tag 'android11-5.4.278_r00' into android11-5.4

This catches android11-5.4 up to the 5.4.278 LTS release.  Included in
here are the following commits:

* 06b018ca4221 Revert "drm/panel: simple: Add missing Innolux G121X1-L03 format, flags, connector"
*   eb1a0358d182 Merge 5.4.278 into android11-5.4-lts
|\
| * 189ee9735a4b Linux 5.4.278
| * 2997e2fb1cbd nfs: fix undefined behavior in nfs_block_bits()
| * 7c72af16abf2 s390/ap: Fix crash in AP internal function modify_bitmap()
| * 896a7e7d0d55 ext4: fix mb_cache_entry's e_refcnt leak in ext4_xattr_block_cache_find()
| * 95572c6b8e91 sparc: move struct termio to asm/termios.h
| * 0b45c25d60e3 xsk: validate user input for XDP_{UMEM|COMPLETION}_FILL_RING
| * db0082825037 net: fix __dst_negative_advice() race
| * 6b84387afe80 kdb: Use format-specifiers rather than memset() for padding in kdb_read()
| * 147bac05f28c kdb: Merge identical case statements in kdb_read()
| * 084e84ede9eb kdb: Fix console handling when editing and tab-completing commands
| * 6a3836f29bc5 kdb: Use format-strings rather than '\0' injection in kdb_read()
| * ddd2972d8e2d kdb: Fix buffer overflow during tab-complete
| * 2098b237ba17 sparc64: Fix number of online CPUs
| * 68682329fc63 intel_th: pci: Add Meteor Lake-S CPU support
| * 2101901dd58c net/9p: fix uninit-value in p9_client_rpc()
| * 636438dd9d3c net/ipv6: Fix route deleting failure when metric equals 0
| * 6396b33e98c0 crypto: qat - Fix ADF_DEV_RESET_SYNC memory leak
| * 95abba5168a1 crypto: ecrdsa - Fix module auto-load on add_key
| * a2579c802cfe KVM: arm64: Allow AArch32 PSTATE.M to be restored as System mode
| * 86435f39c189 fbdev: savage: Handle err return when savagefb_check_var failed
| * bec5fe171ff8 media: v4l2-core: hold videodev_lock until dev reg, finishes
| * 0dcb04014f2c media: mxl5xx: Move xpt structures off stack
| * 6ac608af7b6b media: mc: mark the media devnode as registered from the, start
| * c125ebaf03c5 arm64: dts: hi3798cv200: fix the size of GICR
| * 6649fea0361d wifi: rtl8xxxu: Fix the TX power of RTL8192CU, RTL8723AU
| * 634ba3c97ec4 md/raid5: fix deadlock that raid5d() wait for itself to clear MD_SB_CHANGE_PENDING
| * fe60a7bc349a arm64: tegra: Correct Tegra132 I2C alias
| * 68edebd1fffe ACPI: resource: Do IRQ override on TongFang GXxHRXx and GMxHGxx
| * 3b472ad39cf8 ata: pata_legacy: make legacy_exit() work again
| * 5594971e0276 drm/amdgpu: add error handle to avoid out-of-bounds
| * 8915dcd29a82 media: lgdt3306a: Add a check against null-pointer-def
| * c559a8d84056 f2fs: fix to do sanity check on i_xattr_nid in sanity_check_inode()
| * 27fba38ddd8c x86/mm: Remove broken vsyscall emulation code from the page fault code
| * 9a7f481f3e04 vxlan: Fix regression when dropping packets due to invalid src addresses
| * 82933c84f188 nilfs2: fix use-after-free of timer for log writer thread
| * ffbda400b2bf afs: Don't cross .backup mountpoint from backup volume
| * 6e23457791aa io_uring: fail NOP if non-zero op flags is passed in
| * 63664389b664 mmc: core: Do not force a retune before RPMB switch
| * e4daa1a1ff28 binder: fix max_thread type inconsistency
| * 6ed45d20d300 SUNRPC: Fix loop termination condition in gss_free_in_token_pages()
| * f5f467596060 genirq/cpuhotplug, x86/vector: Prevent vector leak during CPU offline
| * 74bfb8d90f26 ALSA: timer: Set lower bound of start tick time
| * 54768bacfde6 ipvlan: Dont Use skb->sk in ipvlan_process_v{4,6}_outbound
| * ce05d4a3b010 spi: stm32: Don't warn about spurious interrupts
| * f13fc5113d76 kconfig: fix comparison to constant symbols, 'm', 'n'
| * 10f0af5234da netfilter: tproxy: bail out if IP has been disabled on the device
| * 582233516acb net:fec: Add fec_enet_deinit()
| * 00a762ee6b24 net: usb: smsc95xx: fix changing LED_SEL bit value updated from EEPROM
| * 2be4ac3d990c smsc95xx: use usbnet->driver_priv
| * a4ecfe6a9854 smsc95xx: remove redundant function arguments
| * ca63fb7af9d3 enic: Validate length of nl attributes in enic_set_vf_port
| * 165b25e3ee93 dma-buf/sw-sync: don't enable IRQ from sync_print_obj()
| * a921cd1f0c44 net/mlx5e: Use rx_missed_errors instead of rx_dropped for reporting buffer exhaustion
| * 5f4278f15166 nvmet: fix ns enable/disable possible hang
| * 27a6986af2d5 spi: Don't mark message DMA mapped when no transfer in it is
| * 3989b817857f netfilter: nfnetlink_queue: acquire rcu_read_lock() in instance_destroy_rcu()
| * 2271803d9fb2 nfc: nci: Fix handling of zero-length payload packets in nci_rx_work()
| * db58c41b5171 nfc: nci: Fix kcov check in nci_rx_work()
| * 4b179b0cfcb7 net: fec: avoid lock evasion when reading pps_enable
| * 43a9aaf63254 virtio: delete vq in vp_find_vqs_msix() when request_irq() fails
| * 22469a0335a1 arm64: asm-bug: Add .align 2 to the end of __BUG_ENTRY
| * 09ef5c5e36b5 openvswitch: Set the skbuff pkt_type for proper pmtud support.
| * 6aacaa80d962 tcp: Fix shift-out-of-bounds in dctcp_update_alpha().
| * 07b002723cf0 params: lift param_set_uint_minmax to common code
| * 4a3fcf53725b ipv6: sr: fix memleak in seg6_hmac_init_algo
| * b1589a6eef8d sunrpc: fix NFSACL RPC retry on soft mount
| * 485ded868ed6 nfc: nci: Fix uninit-value in nci_rx_work
| * eae8e2dcb0bb x86/kconfig: Select ARCH_WANT_FRAME_POINTERS again when UNWINDER_FRAME_POINTER=y
| * f5acbae73703 null_blk: Fix the WARNING: modpost: missing MODULE_DESCRIPTION()
| * 2990b6c0a6e8 media: cec: cec-api: add locking in cec_release()
| * 8890dd70fa42 media: cec: cec-adap: always cancel work in cec_transmit_msg_fh
| * 3f5c5d869ebf um: Fix the -Wmissing-prototypes warning for __switch_mm
| * 5b1796345d45 powerpc/pseries: Add failure related checks for h_get_mpp and h_get_ppp
| * b648756eb98c scsi: qla2xxx: Replace all non-returning strlcpy() with strscpy()
| * ecf4ddc3aee8 media: stk1160: fix bounds checking in stk1160_copy_video()
| * dc1ff95602ee um: Add winch to winch_handlers before registering winch IRQ
| * 94bf61b291ae um: Fix return value in ubd_init()
| * 0a5ad8dc332f drm/msm/dpu: Always flush the slave INTF on the CTL
| * 2b486d230688 Input: pm8xxx-vibrator - correct VIB_MAX_LEVELS calculation
| * 33d148cdb163 Input: ims-pcu - fix printf string overflow
| * b01d29acc837 libsubcmd: Fix parse-options memory leak
| * d9754fc9c0ad serial: sh-sci: protect invalidating RXDMA on shutdown
| * cd97dcd412c1 f2fs: fix to release node block count in error path of f2fs_new_node_page()
| * 742040261910 extcon: max8997: select IRQ_DOMAIN instead of depending on it
| * b8c6b83cc3ad ppdev: Add an error check in register_device
| * 5f3c34b719aa ppdev: Remove usage of the deprecated ida_simple_xx() API
| * a0450d3f38e7 stm class: Fix a double free in stm_register_device()
| * 4591a1764ac7 usb: gadget: u_audio: Clear uac pointer when freed.
| * eba6b40877d5 microblaze: Remove early printk call from cpuinfo-static.c
| * 0df1153511b9 microblaze: Remove gcc flag for non existing early_printk.c file
| * 463d714a5829 iio: pressure: dps310: support negative temperature values
| * c0e9a728456e greybus: arche-ctrl: move device table to its right location
| * e728f8dfffaa serial: max3100: Fix bitwise types
| * 9db4222ed8cd serial: max3100: Update uart_driver_registered on driver removal
| * ea9b35372b58 serial: max3100: Lock port->lock when calling uart_handle_cts_change()
| * 4ba0e40fdd3d firmware: dmi-id: add a release callback function
| * 7481337ab762 dmaengine: idma64: Add check for dma_set_max_seg_size
| * 002364b2d594 soundwire: cadence: fix invalid PDI offset
| * 98a649463a00 soundwire: cadence_master: improve PDI allocation
| * 6584388c032e soundwire: intel: don't filter out PDI0/1
| * 10568e442c2d soundwire: cadence/intel: simplify PDI/port mapping
| * e2c64246e5dc greybus: lights: check return of get_channel_from_mode
| * 5c0572736348 sched/fair: Allow disabling sched_balance_newidle with sched_relax_domain_level
| * 2137d07adba0 sched/topology: Don't set SD_BALANCE_WAKE on cpuset domain relax
| * b5b2d42bb321 af_packet: do not call packet_read_pending() from tpacket_destruct_skb()
| * 1fbfb483c1a2 netrom: fix possible dead-lock in nr_rt_ioctl()
| * fdee55c42904 RDMA/IPoIB: Fix format truncation compilation errors
| * a7d9afa3dd5a selftests/kcmp: remove unused open mode
| * e7af24598d2b selftests/kcmp: Make the test output consistent and clear
| * 4420b73c7f26 SUNRPC: Fix gss_free_in_token_pages()
| * ff15f1100c1c sunrpc: removed redundant procp check
| * 9462d82504d1 ext4: avoid excessive credit estimate in ext4_tmpfile()
| * ce366a2c9432 x86/insn: Fix PUSH instruction in x86 instruction decoder opcode map
| * 2679ddbf0852 RDMA/hns: Use complete parentheses in macros
| * f5734138fbcd drm/panel: simple: Add missing Innolux G121X1-L03 format, flags, connector
| * bab3a580ee68 ASoC: tracing: Export SND_SOC_DAPM_DIR_OUT to its value
| * 565d9ad7e5a1 drm/arm/malidp: fix a possible null pointer dereference
| * a790c8a74228 fbdev: sh7760fb: allow modular build
| * a8c15b9f30c9 platform/x86: wmi: Make two functions static
| * 51184b721db6 media: radio-shark2: Avoid led_names truncations
| * 166e0d4d79a0 media: ngene: Add dvb_ca_en50221_init return value check
| * 472e95f22016 fbdev: sisfb: hide unused variables
| * e8d37421d4a5 powerpc/fsl-soc: hide unused const variable
| * be34a1b351ea drm/mediatek: Add 0 size check to mtk_drm_gem_obj
| * 9b8deba36a6e fbdev: shmobile: fix snprintf truncation
| * 6658e448584b mtd: rawnand: hynix: fixed typo
| * e280ab978c81 drm/amd/display: Fix potential index out of bounds in color transformation function
| * 646cd236c55e ipv6: sr: fix invalid unregister error path
| * 6d7723bdc7c8 ipv6: sr: fix incorrect unregister order
| * 08094420c671 ipv6: sr: add missing seg6_local_exit
| * 0b532f59437f net: openvswitch: fix overwriting ct original tuple for ICMPv6
| * 90fa1b38c34e net: usb: smsc95xx: stop lying about skb->truesize
| * de6641d21337 af_unix: Fix data races in unix_release_sock/unix_stream_sendmsg
| * 3cd46d51a459 net: ethernet: cortina: Locking fixes
| * c03effc47860 m68k: mac: Fix reboot hang on Mac IIci
| * 5213cc01d046 m68k: Fix spinlock race in kernel thread creation
| * 85f70f8aeb0b net: usb: sr9700: stop lying about skb->truesize
| * 43b78d06e701 usb: aqc111: stop lying about skb->truesize
| * d0209bbac235 wifi: mwl8k: initialize cmd->addr[] properly
| * a75001678e1d scsi: qedf: Ensure the copied buf is NUL terminated
| * 595a6b98deec scsi: bfa: Ensure the copied buf is NUL terminated
| * c5d19837cc73 HID: intel-ish-hid: ipc: Add check for pci_alloc_irq_vectors
| * 2bdad9da45e6 Revert "sh: Handle calling csum_partial with misaligned data"
| * deb3c6e64b16 sh: kprobes: Merge arch_copy_kprobe() into arch_prepare_kprobe()
| * 68a5a00c5d38 wifi: ar5523: enable proper endpoint verification
| * ac3ed46a8741 wifi: carl9170: add a proper sanity check for endpoints
| * 1e9c3f2caec5 macintosh/via-macii: Fix "BUG: sleeping function called from invalid context"
| * 31e1da773a89 tcp: avoid premature drops in tcp_add_backlog()
| * 9d04b4d0feee tcp: fix a signed-integer-overflow bug in tcp_add_backlog()
| * 527eaa5aa625 tcp: minor optimization in tcp_add_backlog()
| * 539c4bf75462 wifi: ath10k: populate board data for WCN3990
| * 9e16d735c6f1 wifi: ath10k: Fix an error code problem in ath10k_dbg_sta_write_peer_debug_trigger()
| * 15650ffd47af x86/purgatory: Switch to the position-independent small code model
| * e3a45d8134ad scsi: hpsa: Fix allocation size for Scsi_Host private data
| * e999155c60c2 scsi: libsas: Fix the failure of adding phy with zero-address to port
| * 2d730b465e37 cpufreq: exit() callback is optional
| * e660a2e670dc cpufreq: Rearrange locking in cpufreq_remove_dev()
| * 14bef1ad614e cpufreq: Split cpufreq_offline()
| * 458965e83c75 cpufreq: Reorganize checks in cpufreq_offline()
| * a65066c52083 ACPI: disable -Wstringop-truncation
| * 8e44605294d6 irqchip/alpine-msi: Fix off-by-one in allocation error path
| * 0dba8fd01a36 scsi: ufs: core: Perform read back after disabling UIC_COMMAND_COMPL
| * 14baa3571179 scsi: ufs: core: Perform read back after disabling interrupts
| * db5e443d5a11 scsi: ufs: cdns-pltfrm: Perform read back after writing HCLKDIV
| * 50b2cebe337f scsi: ufs: qcom: Perform read back after writing reset bit
| * 8cff599e2f02 qed: avoid truncating work queue length
| * 6dde0c15c5de x86/boot: Ignore relocations in .notes sections in walk_relocs() too
| * a50b7aae1883 wifi: ath10k: poll service ready message before failing
| * 43771597feba md: fix resync softlockup when bitmap size is less than array size
| * 0f306d16ff43 null_blk: Fix missing mutex_destroy() at module removal
| * 526235dffcac jffs2: prevent xattr node from overflowing the eraseblock
| * f84dd50f919c s390/cio: fix tracepoint subchannel type field
| * 2246880d9001 crypto: ccp - drop platform ifdef checks
| * 3a7c49e101a5 parisc: add missing export of __cmpxchg_u8()
| * 354bc3231f5c nilfs2: fix out-of-range warning
| * 235b85981051 ecryptfs: Fix buffer size for tag 66 packet
| * 94ac93159b27 firmware: raspberrypi: Use correct device for DMA mappings
| * e719c8991c16 crypto: bcm - Fix pointer arithmetic
| * 281ccb2a54ae openpromfs: finish conversion to the new mount API
| * fce3de55e88e nvme: find numa distance only if controller has valid numa id
| * 74d98cccea8f drm/amdkfd: Flush the process wq before creating a kfd_process
| * 7e44593de9b4 ASoC: da7219-aad: fix usage of device_get_named_child_node()
| * b159bd7fa8dc ASoC: dt-bindings: rt5645: add cbj sleeve gpio property
| * 63175250afff ASoC: rt5645: Fix the electric noise due to the CBJ contacts floating
| * 07191510c351 drm/amd/display: Set color_mgmt_changed to true on unsuspend
| * 47bce5529c30 net: usb: qmi_wwan: add Telit FN920C04 compositions
| * 917c553186a0 wifi: cfg80211: fix the order of arguments for trace events of the tx_rx_evt class
| * bc9cee50a4a4 nilfs2: fix potential hang in nilfs_detach_log_writer()
| * bcb5016559e2 nilfs2: fix unexpected freezing of nilfs_segctor_sync()
| * 8cd4b2928359 net: smc91x: Fix m68k kernel compilation for ColdFire CPU
| * c68b7a442ee6 ring-buffer: Fix a race between readers and resize checks
| * cd7f3978c2ec speakup: Fix sizeof() vs ARRAY_SIZE() bug
| * b229bc6c6ea9 tty: n_gsm: fix possible out-of-bounds in gsm0_receive()
| * 491bd4d7aa1b x86/tsc: Trust initial offset in architectural TSC-adjust MSRs
* | 5c67c52b0d73 Merge branch 'android11-5.4' into branch 'android11-5.4-lts'
* | 4b533a5511b6 Merge 5.4.277 into android11-5.4-lts
|\|
| * 4a548b29cd58 Linux 5.4.277
| * 2b21f3095bbe docs: kernel_include.py: Cope with docutils 0.21
| * ecef5df7961a serial: kgdboc: Fix NMI-safety problems from keyboard reset code
| * 6b40d4c26209 usb: typec: ucsi: displayport: Fix potential deadlock
| * 467139546f3f drm/amdgpu: Fix possible NULL dereference in amdgpu_ras_query_error_status_helper()
| * 791d236a68f2 btrfs: add missing mutex_unlock in btrfs_relocate_sys_chunks()
| * ea4105d9917f arm64: dts: qcom: Fix 'interrupt-map' parent address cells
| * 7184491fc515 firmware: arm_scmi: Harden accesses to the reset domains
| * 6726429c18c6 smb: client: fix potential OOBs in smb2_parse_contexts()
| * db389e74d3de net: bcmgenet: synchronize UMAC_CMD access
| * ae59f1f444b6 net: bcmgenet: synchronize use of bcmgenet_set_rx_mode()
| * 40fc58f86bd0 net: bcmgenet: synchronize EXT_RGMII_OOB_CTRL access
| * 4f470a80cea1 net: bcmgenet: keep MAC in reset until PHY is up
| * bf3ace5c10f4 Revert "net: bcmgenet: use RGMII loopback for MAC reset"
| * 44f041848279 Revert "selftests: mm: fix map_hugetlb failure on 64K page size systems"
| * d0083459e2b6 ext4: fix bug_on in __es_tree_search
| * c9e7f98f551d pinctrl: core: handle radix_tree_insert() errors in pinctrl_register_one_pin()
* 18ae7bded0f9 Merge branch 'android11-5.4' into branch 'android11-5.4-lts'

Change-Id: I77842e63e44ae93d7f0cdc0022f1f43edc1dc89e
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
tree: 6a91a767f04414ef82fd662463416f847e9c6f76
  1. android/
  2. arch/
  3. block/
  4. certs/
  5. crypto/
  6. Documentation/
  7. drivers/
  8. fs/
  9. include/
  10. init/
  11. ipc/
  12. kernel/
  13. lib/
  14. LICENSES/
  15. mm/
  16. net/
  17. samples/
  18. scripts/
  19. security/
  20. sound/
  21. tools/
  22. usr/
  23. virt/
  24. .clang-format
  25. .cocciconfig
  26. .get_maintainer.ignore
  27. .gitattributes
  28. .gitignore
  29. .mailmap
  30. build.config.aarch64
  31. build.config.allmodconfig
  32. build.config.allmodconfig.aarch64
  33. build.config.allmodconfig.arm
  34. build.config.allmodconfig.x86_64
  35. build.config.arm
  36. build.config.common
  37. build.config.db845c
  38. build.config.gki
  39. build.config.gki-debug.aarch64
  40. build.config.gki-debug.x86_64
  41. build.config.gki.aarch64
  42. build.config.gki.x86_64
  43. build.config.gki_kasan
  44. build.config.gki_kasan.aarch64
  45. build.config.gki_kasan.x86_64
  46. build.config.gki_kprobes
  47. build.config.gki_kprobes.aarch64
  48. build.config.gki_kprobes.x86_64
  49. build.config.hikey960
  50. build.config.x86_64
  51. COPYING
  52. CREDITS
  53. Kbuild
  54. Kconfig
  55. MAINTAINERS
  56. Makefile
  57. OWNERS
  58. README
  59. README.md
README.md

How do I submit patches to Android Common Kernels

  1. BEST: Make all of your changes to upstream Linux. If appropriate, backport to the stable releases. These patches will be merged automatically in the corresponding common kernels. If the patch is already in upstream Linux, post a backport of the patch that conforms to the patch requirements below.

  2. LESS GOOD: Develop your patches out-of-tree (from an upstream Linux point-of-view). Unless these are fixing an Android-specific bug, these are very unlikely to be accepted unless they have been coordinated with kernel-team@android.com. If you want to proceed, post a patch that conforms to the patch requirements below.

Common Kernel patch requirements

  • All patches must conform to the Linux kernel coding standards and pass script/checkpatch.pl
  • Patches shall not break gki_defconfig or allmodconfig builds for arm, arm64, x86, x86_64 architectures (see https://source.android.com/setup/build/building-kernels)
  • If the patch is not merged from an upstream branch, the subject must be tagged with the type of patch: UPSTREAM:, BACKPORT:, FROMGIT:, FROMLIST:, or ANDROID:.
  • All patches must have a Change-Id: tag (see https://gerrit-review.googlesource.com/Documentation/user-changeid.html)
  • If an Android bug has been assigned, there must be a Bug: tag.
  • All patches must have a Signed-off-by: tag by the author and the submitter

Additional requirements are listed below based on patch type

Requirements for backports from mainline Linux: UPSTREAM:, BACKPORT:

  • If the patch is a cherry-pick from Linux mainline with no changes at all
    • tag the patch subject with UPSTREAM:.
    • add upstream commit information with a (cherry-picked from ...) line
    • Example:
      • if the upstream commit message is
        important patch from upstream

        This is the detailed description of the important patch

        Signed-off-by: Fred Jones <fred.jones@foo.org>
    - then Joe Smith would upload the patch for the common kernel as
        UPSTREAM: important patch from upstream

        This is the detailed description of the important patch

        Signed-off-by: Fred Jones <fred.jones@foo.org>

        Bug: 135791357
        Change-Id: I4caaaa566ea080fa148c5e768bb1a0b6f7201c01
        (cherry-picked from c31e73121f4c1ec41143423ac6ce3ce6dafdcec1)
        Signed-off-by: Joe Smith <joe.smith@foo.org>
  • If the patch requires any changes from the upstream version, tag the patch with BACKPORT: instead of UPSTREAM:.
    • use the same tags as UPSTREAM:
    • add comments about the changes under the (cherry-picked from ...) line
    • Example:
        BACKPORT: important patch from upstream

        This is the detailed description of the important patch

        Signed-off-by: Fred Jones <fred.jones@foo.org>

        Bug: 135791357
        Change-Id: I4caaaa566ea080fa148c5e768bb1a0b6f7201c01
        (cherry-picked from c31e73121f4c1ec41143423ac6ce3ce6dafdcec1)
        [ Resolved minor conflict in drivers/foo/bar.c ]
        Signed-off-by: Joe Smith <joe.smith@foo.org>

Requirements for other backports: FROMGIT:, FROMLIST:,

  • If the patch has been merged into an upstream maintainer tree, but has not yet been merged into Linux mainline
    • tag the patch subject with FROMGIT:
    • add info on where the patch came from as (cherry picked from commit <sha1> <repo> <branch>). This must be a stable maintainer branch (not rebased, so don't use linux-next for example).
    • if changes were required, use BACKPORT: FROMGIT:
    • Example:
      • if the commit message in the maintainer tree is
        important patch from upstream

        This is the detailed description of the important patch

        Signed-off-by: Fred Jones <fred.jones@foo.org>
    - then Joe Smith would upload the patch for the common kernel as
        FROMGIT: important patch from upstream

        This is the detailed description of the important patch

        Signed-off-by: Fred Jones <fred.jones@foo.org>

        Bug: 135791357
        (cherry picked from commit 878a2fd9de10b03d11d2f622250285c7e63deace
         https://git.kernel.org/pub/scm/linux/kernel/git/foo/bar.git test-branch)
        Change-Id: I4caaaa566ea080fa148c5e768bb1a0b6f7201c01
        Signed-off-by: Joe Smith <joe.smith@foo.org>
  • If the patch has been submitted to LKML, but not accepted into any maintainer tree
    • tag the patch subject with FROMLIST:
    • add a Link: tag with a link to the submittal on lore.kernel.org
    • if changes were required, use BACKPORT: FROMLIST:
    • Example:
        FROMLIST: important patch from upstream

        This is the detailed description of the important patch

        Signed-off-by: Fred Jones <fred.jones@foo.org>

        Bug: 135791357
        Link: https://lore.kernel.org/lkml/20190619171517.GA17557@someone.com/
        Change-Id: I4caaaa566ea080fa148c5e768bb1a0b6f7201c01
        Signed-off-by: Joe Smith <joe.smith@foo.org>

Requirements for Android-specific patches: ANDROID:

  • If the patch is fixing a bug to Android-specific code
    • tag the patch subject with ANDROID:
    • add a Fixes: tag that cites the patch with the bug
    • Example:
        ANDROID: fix android-specific bug in foobar.c

        This is the detailed description of the important fix

        Fixes: 1234abcd2468 ("foobar: add cool feature")
        Change-Id: I4caaaa566ea080fa148c5e768bb1a0b6f7201c01
        Signed-off-by: Joe Smith <joe.smith@foo.org>
  • If the patch is a new feature
    • tag the patch subject with ANDROID:
    • add a Bug: tag with the Android bug (required for android-specific features)