mirror of
				https://git.proxmox.com/git/mirror_zfs.git
				synced 2025-10-26 18:05:04 +03:00 
			
		
		
		
	Linux 6.9: Fix UBSAN errors in zap_micro.c
You can use the UBSAN_SANITIZE_* Kbuild options to exclude certain kernel objects from the UBSAN checks. We previously excluded zap_micro.o with: UBSAN_SANITIZE_zap_micro.o := n For some reason that didn't work for the 6.9 kernel, which wants us to use: UBSAN_SANITIZE_zfs/zap_micro.o := n Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Tony Hutter <hutter2@llnl.gov> Closes #16278 Closes #16330
This commit is contained in:
		
							parent
							
								
									c24a039042
								
							
						
					
					
						commit
						d7bf0e5259
					
				| @ -492,6 +492,7 @@ zfs-$(CONFIG_PPC64) += $(addprefix zfs/,$(ZFS_OBJS_PPC_PPC64)) | ||||
| UBSAN_SANITIZE_zap_leaf.o := n | ||||
| UBSAN_SANITIZE_zap_micro.o := n | ||||
| UBSAN_SANITIZE_sa.o := n | ||||
| UBSAN_SANITIZE_zfs/zap_micro.o := n | ||||
| 
 | ||||
| # Suppress incorrect warnings from versions of objtool which are not | ||||
| # aware of x86 EVEX prefix instructions used for AVX512. | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Tony Hutter
						Tony Hutter